Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/5] ASoC: cs53l30: Add missing regmap use_single config
@ 2021-05-11 17:57 Charles Keepax
  2021-05-11 17:57 ` [PATCH 2/5] ASoC: cs42l73: " Charles Keepax
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Charles Keepax @ 2021-05-11 17:57 UTC (permalink / raw)
  To: broonie
  Cc: pierre-louis.bossart, alsa-devel, patches, lgirdwood,
	james.schulman, david.rhodes

This device requires single register transactions, this will
definely cause problems with the new device ID parsing which
uses regmap_bulk_read but might also show up in the cache sync
sometimes. Add the missing flags to the regmap_config.

Fixes: 4fc81bc88ad9 ("ASoC: cs53l30: Minor error paths fixups")
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
---
 sound/soc/codecs/cs53l30.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sound/soc/codecs/cs53l30.c b/sound/soc/codecs/cs53l30.c
index bd33dd048c7ce..f2087bd38dbc8 100644
--- a/sound/soc/codecs/cs53l30.c
+++ b/sound/soc/codecs/cs53l30.c
@@ -913,6 +913,9 @@ static struct regmap_config cs53l30_regmap = {
 	.writeable_reg = cs53l30_writeable_register,
 	.readable_reg = cs53l30_readable_register,
 	.cache_type = REGCACHE_RBTREE,
+
+	.use_single_read = true,
+	.use_single_write = true,
 };
 
 static int cs53l30_i2c_probe(struct i2c_client *client,
-- 
2.11.0


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-05-11 18:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-11 17:57 [PATCH 1/5] ASoC: cs53l30: Add missing regmap use_single config Charles Keepax
2021-05-11 17:57 ` [PATCH 2/5] ASoC: cs42l73: " Charles Keepax
2021-05-11 17:57 ` [PATCH 3/5] ASoC: cs35l34: " Charles Keepax
2021-05-11 17:57 ` [PATCH 4/5] ASoC: cs35l32: " Charles Keepax
2021-05-11 17:57 ` [PATCH 5/5] ASoC: cs42l52: Minor tidy up of error paths Charles Keepax
2021-05-11 18:21 ` [PATCH 1/5] ASoC: cs53l30: Add missing regmap use_single config Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox