From patchwork Wed Jul 29 07:44:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 11690545 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E385C912 for ; Wed, 29 Jul 2020 07:44:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C004321883 for ; Wed, 29 Jul 2020 07:44:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1596008662; bh=EAAEADU7DSjaLvXALOCEsiBzv+cV9IYKsedOqf641lM=; h=From:To:Cc:Subject:Date:List-ID:From; b=tkSxpP/yzkxfQomZbqTodWyY03PCmsD0ar4TunFkUhjkfzF801sYBMmJ9YAa8C1kL oR8uS2YDRQxXjtMbYHC2pQtJUsQqbSNMwHZAKANMA1ahcbnrVPJc714QfXJywisTQS bgl299G2iBaR+wc7KNUleJcPQs+hOdPBfwPim3VY= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727845AbgG2HoW (ORCPT ); Wed, 29 Jul 2020 03:44:22 -0400 Received: from mail.kernel.org ([198.145.29.99]:57782 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726290AbgG2HoV (ORCPT ); Wed, 29 Jul 2020 03:44:21 -0400 Received: from kozik-lap.mshome.net (unknown [194.230.155.213]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B964D20809; Wed, 29 Jul 2020 07:44:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1596008661; bh=EAAEADU7DSjaLvXALOCEsiBzv+cV9IYKsedOqf641lM=; h=From:To:Cc:Subject:Date:From; b=yike37CLVQmHz0JUqQNOKjuZ3Am1/pbaBIWrX2PWKJHTCJ5QY9PKb6B1SIA/HVxhu Tot/6jU8FXITkwE/DI3HTqeqIdmxRg7Bi+QsHhamZDK7kn+9st8Cp+AWJ3i8624dZ1 gjFvMo05FB5c3t4plz2TvdczGhJgbDX8bI3q3D8E= From: Krzysztof Kozlowski To: Matthias Brugger , Andy Gross , Bjorn Andersson , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 1/2] soc: mediatek: mtk-infracfg: Fix kerneldoc Date: Wed, 29 Jul 2020 09:44:14 +0200 Message-Id: <20200729074415.28393-1-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Fix W=1 compile warnings (invalid kerneldoc): drivers/soc/mediatek/mtk-infracfg.c:34: warning: Function parameter or member 'infracfg' not described in 'mtk_infracfg_set_bus_protection' drivers/soc/mediatek/mtk-infracfg.c:34: warning: Excess function parameter 'regmap' description in 'mtk_infracfg_set_bus_protection' Signed-off-by: Krzysztof Kozlowski --- drivers/soc/mediatek/mtk-infracfg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/soc/mediatek/mtk-infracfg.c b/drivers/soc/mediatek/mtk-infracfg.c index 341c7ac250e3..4a123796aad3 100644 --- a/drivers/soc/mediatek/mtk-infracfg.c +++ b/drivers/soc/mediatek/mtk-infracfg.c @@ -19,7 +19,7 @@ /** * mtk_infracfg_set_bus_protection - enable bus protection - * @regmap: The infracfg regmap + * @infracfg: The infracfg regmap * @mask: The mask containing the protection bits to be enabled. * @reg_update: The boolean flag determines to set the protection bits * by regmap_update_bits with enable register(PROTECTEN) or @@ -50,7 +50,7 @@ int mtk_infracfg_set_bus_protection(struct regmap *infracfg, u32 mask, /** * mtk_infracfg_clear_bus_protection - disable bus protection - * @regmap: The infracfg regmap + * @infracfg: The infracfg regmap * @mask: The mask containing the protection bits to be disabled. * @reg_update: The boolean flag determines to clear the protection bits * by regmap_update_bits with enable register(PROTECTEN) or From patchwork Wed Jul 29 07:44:15 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 11690547 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0AD71913 for ; Wed, 29 Jul 2020 07:44:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E81C921D95 for ; Wed, 29 Jul 2020 07:44:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1596008667; bh=uisBrp03mBj+7I52p1yLCddU9KzH618rf8vZLEo8Blo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=TFLB2a2+CDMnBc+C3jErYlSKdkKYtODncBlNTRqZiQ/u9iGMthW6XKc20lLXxjFYX lUjJXzut5pwCz4j78ATfh5yoRCSpC4XSf98nJc5KSXZRIyGPwueov/NZFVG9/1Zf4n S7Qxmi5WDcXV4fELzCcPjWEwhqcTzzAn/lb5jhdY= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727939AbgG2HoY (ORCPT ); Wed, 29 Jul 2020 03:44:24 -0400 Received: from mail.kernel.org ([198.145.29.99]:57838 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726290AbgG2HoY (ORCPT ); Wed, 29 Jul 2020 03:44:24 -0400 Received: from kozik-lap.mshome.net (unknown [194.230.155.213]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 241AA2084D; Wed, 29 Jul 2020 07:44:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1596008663; bh=uisBrp03mBj+7I52p1yLCddU9KzH618rf8vZLEo8Blo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Dph5wHjHRyz2edLmnKeCf7nt2rq2NGIOMLn8qX4MjQeY6VrRzSOGRu7fDOqUXe579 nCSgXVpkOu/vImotkkdF+Xw7c95oEAsXN6b2o82pGQ486jz5kQKA1Vdsto0jCu89zW 8+YcpSc66SljkuWLQmi1sMuEFYpB6HmvLRqnFNi4= From: Krzysztof Kozlowski To: Matthias Brugger , Andy Gross , Bjorn Andersson , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 2/2] soc: qcom: smd-rpm: Fix kerneldoc Date: Wed, 29 Jul 2020 09:44:15 +0200 Message-Id: <20200729074415.28393-2-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200729074415.28393-1-krzk@kernel.org> References: <20200729074415.28393-1-krzk@kernel.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Fix W=1 compile warnings (invalid kerneldoc): drivers/soc/qcom/smd-rpm.c:35: warning: Function parameter or member 'dev' not described in 'qcom_smd_rpm' drivers/soc/qcom/smd-rpm.c:99: warning: Function parameter or member 'state' not described in 'qcom_rpm_smd_write' Signed-off-by: Krzysztof Kozlowski --- drivers/soc/qcom/smd-rpm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/soc/qcom/smd-rpm.c b/drivers/soc/qcom/smd-rpm.c index 877b13850730..1d4eb46b417a 100644 --- a/drivers/soc/qcom/smd-rpm.c +++ b/drivers/soc/qcom/smd-rpm.c @@ -20,6 +20,7 @@ * struct qcom_smd_rpm - state of the rpm device driver * @rpm_channel: reference to the smd channel * @icc: interconnect proxy device + * @dev: rpm device * @ack: completion for acks * @lock: mutual exclusion around the send/complete pair * @ack_status: result of the rpm request @@ -86,6 +87,7 @@ struct qcom_rpm_message { /** * qcom_rpm_smd_write - write @buf to @type:@id * @rpm: rpm handle + * @state: active/sleep state flags * @type: resource type * @id: resource identifier * @buf: the data to be written