From patchwork Wed May 26 13:00:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448194 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5198853jac; Wed, 26 May 2021 06:01:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy14gyM0o4KSAVPHBiLpbutbTUk7a4P+YDqIQ4A419JLKcHfq2WFCEi7IfCopTb3dmTdraj X-Received: by 2002:a2e:808f:: with SMTP id i15mr2149832ljg.376.1622034079144; Wed, 26 May 2021 06:01:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622034079; cv=none; d=google.com; s=arc-20160816; b=XH/+iPK7dyg0jsLJ1U8jpilEO8EVo+SjMTDRf0qPPZYhKAQ9Ioe/0kVzQ6dZkhPBlW UT5HKxCqddIccpA0erP4FE1/YtReqQc/paQ/Uy+Y5j7ZcstashJZnAUuhQrybwar8FCV Vi6BetnAKZ1QSKnJ0P0sFiXIXCEByQSoQihevUG6OP/2d/5Rj9yQJgRoWtY3VYDeJgBY eBOTbNSc3CAvTEsECtFVbmM5kic5u6wgLeHkO9q5Sy3PBeJQim1FWDVGT7uRyoBRgCw9 /fvJPw6BrG0JODG9rh5FyOKWzA3dm4xhUwlxwf632h8dTVBUcpHTf6TcZpcC8wbs+PbO Gy2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=0dnTAwnA+o8Rl6Vjmau/iU73tQSrbIJc4+Gm/DwQ8N8=; b=p6cCnsUZyXOFFOXlQqqOGBC04t5HDDWqTpMeyqWYuVoXu3aAnheGssdaJVpaKio+ls G3uLhXoPdf3IxRVpF6ZA13wWG8RCYRRssA7I7057n202XOOgeCFa/ezU5y85FdF/6USv omnp06VCzrDcizAIb1lsoiZWlh5c2c1/qnrLlsdtI5zSiaudKOX4uE4D5QN08aaLa2Ek 2CMHcQI78dwmQcwe5eglALr/v4TJgonALGVOaVlqVxoAkpc6QW20KG2mk9f96owWI0ne T2aFuj64yiMkKcj40ip/OXTcGZydtSgUBHEn1oA6ej2DjfQNt5DXaBeNLmZ5Kn+W+eTP mZcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yzpRHfuA; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i2si21150709ejp.119.2021.05.26.06.01.18; Wed, 26 May 2021 06:01:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yzpRHfuA; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235039AbhEZNCr (ORCPT + 4 others); Wed, 26 May 2021 09:02:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41080 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234927AbhEZNCe (ORCPT ); Wed, 26 May 2021 09:02:34 -0400 Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A3F38C06134C for ; Wed, 26 May 2021 06:01:02 -0700 (PDT) Received: by mail-wr1-x42c.google.com with SMTP id v12so1050553wrq.6 for ; Wed, 26 May 2021 06:01:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=0dnTAwnA+o8Rl6Vjmau/iU73tQSrbIJc4+Gm/DwQ8N8=; b=yzpRHfuAFiJ4nJRki9oj+LQQzpcpbJb2uP+be+5hC7r2Qt8OnrD6+KrKWDKnNuUj/c X55UMs7SbQnBOpSImIrawe7/2dcQyISDH40JFA60Z2tBxOvtul2Spxr5vriAA/ZJaPt9 pdLTcjZIn65Y6qKc8dR9fSpEVO1Oq/m93HkkpCBlbiHBXct9w0gPMycwJ3HU8gxS8BxO KVZawzDCIphzcPs8olEFN2poev3L9YOHeEd29m/AJ3aFRFszSD7Xyd9PedF5TtQhttbB SbGbINnZMNlzcGX2BiDBqMSfcC+j8rlZNjDgJjaxrDO2S9OJZ9zBHKvuFts9EvndA0q3 cbyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=0dnTAwnA+o8Rl6Vjmau/iU73tQSrbIJc4+Gm/DwQ8N8=; b=FofMeQ3GZ9eOZL6q5yDqa4ZceNANDZ/jYku0VgT8FaYGO92ynOlPlAS1MrXRm0r/Ge EHD1+tfCYbMTOH2i/0HHMfbfChxHTCfm7ElxFJaIPtzOx9WwR0B2QvEyhqIhD2OBs9kS xLTODtldXUNdSGehQhsGpz+Hkd8R0WlwdjQVPSzxQD36xSiXQ+OIL8O7LqAG9tRas35n bP1bwd9CSorXnE+An9/U6gI7Ul8tNgWw5oWAEOlTldrt0PV/kwyBxQsEYgZl7herRWn/ q6wr37Y/B3ILw3z0MFVRiMbOnQ9dF7rUO6dbRUWFXu9JS79OH9OJQrMay8t9E8F58qc4 SYeg== X-Gm-Message-State: AOAM5314cKc8y/DmpyR9j8w7BQ8x47AEifUmqNU+p6awpQ/SoAfwuHvs GUrlm07JzFEPpvtJwlmlrL8L/vsQLERPHA== X-Received: by 2002:adf:efc7:: with SMTP id i7mr25188723wrp.421.1622034061209; Wed, 26 May 2021 06:01:01 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id y14sm6430036wmj.37.2021.05.26.06.01.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 06:01:00 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Peter Chen , Greg Kroah-Hartman , linux-usb@vger.kernel.org Subject: [PATCH 14/24] usb: chipidea: otg: Fix formatting and missing documentation issues Date: Wed, 26 May 2021 14:00:27 +0100 Message-Id: <20210526130037.856068-15-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526130037.856068-1-lee.jones@linaro.org> References: <20210526130037.856068-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/usb/chipidea/otg.c:25: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/usb/chipidea/otg.c:78: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/usb/chipidea/otg.c:143: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst Cc: Peter Chen Cc: Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org Signed-off-by: Lee Jones --- drivers/usb/chipidea/otg.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) -- 2.31.1 diff --git a/drivers/usb/chipidea/otg.c b/drivers/usb/chipidea/otg.c index d3aada3ce7ec2..8dd59282827b0 100644 --- a/drivers/usb/chipidea/otg.c +++ b/drivers/usb/chipidea/otg.c @@ -22,7 +22,7 @@ #include "otg_fsm.h" /** - * hw_read_otgsc returns otgsc register bits value. + * hw_read_otgsc - returns otgsc register bits value. * @ci: the controller * @mask: bitfield mask */ @@ -75,7 +75,7 @@ u32 hw_read_otgsc(struct ci_hdrc *ci, u32 mask) } /** - * hw_write_otgsc updates target bits of OTGSC register. + * hw_write_otgsc - updates target bits of OTGSC register. * @ci: the controller * @mask: bitfield mask * @data: to be written @@ -140,8 +140,9 @@ void ci_handle_vbus_change(struct ci_hdrc *ci) } /** - * When we switch to device mode, the vbus value should be lower - * than OTGSC_BSV before connecting to host. + * hw_wait_vbus_lower_bsv - When we switch to device mode, the vbus value + * should be lower than OTGSC_BSV before connecting + * to host. * * @ci: the controller *