diff options
author | Charles Keepax <ckeepax@opensource.cirrus.com> | 2023-01-12 20:18:39 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-03-06 02:38:46 +0300 |
commit | 6466b376e927d51ea3eadc1965714305d8c3c066 (patch) | |
tree | af168ce5cecf35d3da5c2960047f1cd12ecec73b /drivers/base | |
parent | fe15c26ee26efa11741a7b632e9f23b01aca4cc6 (diff) | |
download | linux-6466b376e927d51ea3eadc1965714305d8c3c066.tar.xz |
regmap: sdw: Update misleading comment
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>
Link: https://lore.kernel.org/r/20230112171840.2098463-2-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/base')
-rw-r--r-- | drivers/base/regmap/regmap-sdw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/regmap/regmap-sdw.c b/drivers/base/regmap/regmap-sdw.c index 81b0327f719d..95801fd411b2 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; |