regmap: sdw: Remove 8-bit value size restriction
authorLucas Tanure <tanureal@opensource.cirrus.com>
Thu, 12 Jan 2023 17:18:40 +0000 (17:18 +0000)
committerMark Brown <broonie@kernel.org>
Sun, 5 Mar 2023 23:38:47 +0000 (23:38 +0000)
commit522272047dc631610dd180be0c3670043bcdf42e
treee1697173082fa07ca3c859da2d3507e05115c3a5
parent6466b376e927d51ea3eadc1965714305d8c3c066
regmap: sdw: Remove 8-bit value size restriction

Some SoundWire devices have larger width device specific register
maps, in addition to the standard SoundWire 8-bit map. Update the
helpers to allow accessing arbitrarily sized register values and remove
the explicit 8-bit restriction from regmap_sdw_config_check.

Signed-off-by: Lucas Tanure <tanureal@opensource.cirrus.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20230112171840.2098463-3-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/base/regmap/regmap-sdw.c