Message ID | 20230112171840.2098463-2-ckeepax@opensource.cirrus.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp4023397wrt; Thu, 12 Jan 2023 10:01:05 -0800 (PST) X-Google-Smtp-Source: AMrXdXuv+IhYOGJW6Iy9nJBZp5R0Oz1npzItXJ/QV+iw5kI9RXXW/Y6o0mLG07ASOgcN/+gvT/Z1 X-Received: by 2002:a17:90b:2487:b0:225:ec6b:71a2 with SMTP id nt7-20020a17090b248700b00225ec6b71a2mr61493288pjb.42.1673546465236; Thu, 12 Jan 2023 10:01:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673546465; cv=none; d=google.com; s=arc-20160816; b=YO9VF4xuQOtO9UsdzoQZxdhIl85hU/9j0P/wHtfekKQ9FYg5PrkOyxm4o2Uer8voBe bDHL0cx+syPWl+1KOhUrSNhCC2dMX3bvUIZpuoi2pAJvIs5Sx3Qv5iQFYpFt+4fXevYA DNWCfMQ84nQWHKriKQ+wY1lgWbAP6YGtjZg0EV/xIzqlEaAZxaxqPg0YuMZS3XzGerrG Y+4ueP68dKwMlpEGzEnwfO3BZdTx3k54BRFAl3PlGISNA07E7LgH/aerE+iuEOamv/V/ r5+ma3F7bx3tZm+9myfV/uZ5qKZzx+b/EqJqELHlb4RXsZhlYRoYHHYIylLllmVzr70/ paMg== 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=ArMJfZCoI2url2AxwRVVnsg3n7HD+bPZiz0UQ2O5vhM=; b=FCxFvlBJkjfSfq0GJK1tBGgUb9uZA5hvEAw3jDgm1p1OusilHif6npD6N+ARbWqXhf 0wv9QkMlEJkgS7mruJQNnCyevXyM2TMEuiktG51Axs43F76Ds5fmBQ5eRNvUvlvDPnrM 7K0II+r25rcaOzMcrJFA+r1F9nplmAfg/LP2ssjnbzh+OJSC3AUaFLuc8JCWsgMMrX95 cdoVp21QqytGxWxlSvs3hZkuNb2mnH01bj0NXQe2SK9i3JZCQdqoTBEvV1opUBGkQfVs rnlwHWdP5I4WZaXIs8lkiZ+RLrIIVPYde7KVDwVFRVSv97U4BXXO+IrnAcyuYuQWUMtX 4RRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=PMDedzQ7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e5-20020a17090a9a8500b00229125f1420si1002121pjp.16.2023.01.12.10.00.51; Thu, 12 Jan 2023 10:01:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=PMDedzQ7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230135AbjALSAU (ORCPT <rfc822;zhuangel570@gmail.com> + 99 others); Thu, 12 Jan 2023 13:00:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42118 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232528AbjALR7M (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 12 Jan 2023 12:59:12 -0500 Received: from mx0b-001ae601.pphosted.com (mx0b-001ae601.pphosted.com [67.231.152.168]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7736B7DE0F for <linux-kernel@vger.kernel.org>; Thu, 12 Jan 2023 09:18:55 -0800 (PST) Received: from pps.filterd (m0077474.ppops.net [127.0.0.1]) by mx0b-001ae601.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 30CF7JfC026944; Thu, 12 Jan 2023 11:18:42 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cirrus.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=PODMain02222019; bh=ArMJfZCoI2url2AxwRVVnsg3n7HD+bPZiz0UQ2O5vhM=; b=PMDedzQ7GhAN1V3l4MbJ68QtpXVrHpvAwO8EZNOYn8GD/rnitx7uz71+vpAWN7SXh8Cp DrhcDlhO6W6LsoBC0cWUi+tztUCICKTEzJqtEAjzWVr7gTfPMVXVLU3qK/ZanRjXAI3c 2zTpIrtPufQ95XNG6lsQwQ3GzcjPUx4MMDqpiOag59HiTMhrTz8/ENXCJsXkRQjVPzrT N/+fdlZLKWghTpqDHUl56fmxpeos9LJLZX16QHpPtYCYAJ/X2Ye+5PIgu4gLTCeVbCPd YBmL+8SX97CgKbkE/CwIZJGFBTumRYFKG161B5UWfymDNanuqYaoP6+I2/VIh2nMP/9W VQ== Received: from ediex02.ad.cirrus.com ([84.19.233.68]) by mx0b-001ae601.pphosted.com (PPS) with ESMTPS id 3n1k582d2g-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 12 Jan 2023 11:18:42 -0600 Received: from ediex01.ad.cirrus.com (198.61.84.80) by ediex02.ad.cirrus.com (198.61.84.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.21; Thu, 12 Jan 2023 11:18:40 -0600 Received: from ediswmail.ad.cirrus.com (198.61.86.93) by ediex01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server id 15.2.1118.21 via Frontend Transport; Thu, 12 Jan 2023 11:18:40 -0600 Received: from algalon.ad.cirrus.com (algalon.ad.cirrus.com [198.90.251.122]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id 7709111CC; Thu, 12 Jan 2023 17:18:40 +0000 (UTC) From: Charles Keepax <ckeepax@opensource.cirrus.com> To: <broonie@kernel.org>, <vkoul@kernel.org> CC: <yung-chuan.liao@linux.intel.com>, <pierre-louis.bossart@linux.intel.com>, <sanyog.r.kale@intel.com>, <linux-kernel@vger.kernel.org>, <patches@opensource.cirrus.com> Subject: [PATCH 1/2] regmap: sdw: Update misleading comment Date: Thu, 12 Jan 2023 17:18:39 +0000 Message-ID: <20230112171840.2098463-2-ckeepax@opensource.cirrus.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230112171840.2098463-1-ckeepax@opensource.cirrus.com> References: <20230112171840.2098463-1-ckeepax@opensource.cirrus.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: 1uheCPGz_yVZ139-j_NluDOlGgJvUuW6 X-Proofpoint-GUID: 1uheCPGz_yVZ139-j_NluDOlGgJvUuW6 X-Proofpoint-Spam-Reason: safe X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754840658196780095?= X-GMAIL-MSGID: =?utf-8?q?1754840658196780095?= |
Series |
Minor SoundWire Regmap Tweaks
|
|
Commit Message
Charles Keepax
Jan. 12, 2023, 5:18 p.m. UTC
In the regmap config reg_bits represents the number of address bits not
the number of value bits. Correct the misleading comment which looks a
lot like it suggests the register value itself is 32-bits wide.
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
---
drivers/base/regmap/regmap-sdw.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/base/regmap/regmap-sdw.c b/drivers/base/regmap/regmap-sdw.c index 81b0327f719d8..95801fd411b26 100644 --- a/drivers/base/regmap/regmap-sdw.c +++ b/drivers/base/regmap/regmap-sdw.c @@ -43,7 +43,7 @@ static int regmap_sdw_config_check(const struct regmap_config *config) if (config->val_bits != 8) return -ENOTSUPP; - /* Registers are 32 bits wide */ + /* Register addresses are 32 bits wide */ if (config->reg_bits != 32) return -ENOTSUPP;