ASoC: cs53l30: Add missing regmap use_single config
Subsystems (3)
PATCH 1/5 ASoC: cs53l30: Add missing regmap use_single config
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.
--- sound/soc/codecs/cs53l30.c | 3 +++ 1 file changed, 3 insertions(+)
sound/soc/codecs/cs53l30.c +3 -0
@@ -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,
Signature · 1 line
2.11.0
PATCH 2/5 ASoC: cs42l73: Add missing regmap use_single config
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.
--- sound/soc/codecs/cs42l73.c | 3 +++ 1 file changed, 3 insertions(+)
sound/soc/codecs/cs42l73.c +3 -0
@@ -1269,6 +1269,9 @@ static const struct regmap_config cs42l73_regmap = { .volatile_reg = cs42l73_volatile_register, .readable_reg = cs42l73_readable_register, .cache_type = REGCACHE_RBTREE, + + .use_single_read = true, + .use_single_write = true, }; static int cs42l73_i2c_probe(struct i2c_client *i2c_client,
Signature · 1 line
2.11.0
PATCH 3/5 ASoC: cs35l34: Add missing regmap use_single config
In reply to Charles KeepaxThis 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.
--- sound/soc/codecs/cs35l34.c | 3 +++ 1 file changed, 3 insertions(+)
sound/soc/codecs/cs35l34.c +3 -0
@@ -801,6 +801,9 @@ static struct regmap_config cs35l34_regmap = { .readable_reg = cs35l34_readable_register, .precious_reg = cs35l34_precious_register, .cache_type = REGCACHE_RBTREE, + + .use_single_read = true, + .use_single_write = true, }; static int cs35l34_handle_of_data(struct i2c_client *i2c_client,
Signature · 1 line
2.11.0
PATCH 4/5 ASoC: cs35l32: Add missing regmap use_single config
In reply to Charles KeepaxThis 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.
--- sound/soc/codecs/cs35l32.c | 3 +++ 1 file changed, 3 insertions(+)
sound/soc/codecs/cs35l32.c +3 -0
@@ -262,6 +262,9 @@ static const struct regmap_config cs35l32_regmap = { .readable_reg = cs35l32_readable_register, .precious_reg = cs35l32_precious_register, .cache_type = REGCACHE_RBTREE, + + .use_single_read = true, + .use_single_write = true, }; static int cs35l32_handle_of_data(struct i2c_client *i2c_client,
Signature · 1 line
2.11.0
PATCH 5/5 ASoC: cs42l52: Minor tidy up of error paths
In reply to Charles KeepaxFixup a needlessly initialised variable and an unchecked return value.
--- sound/soc/codecs/cs42l56.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
sound/soc/codecs/cs42l56.c +6 -1
@@ -1175,7 +1175,7 @@ static int cs42l56_i2c_probe(struct i2c_client *i2c_client,struct cs42l56_platform_data *pdata =dev_get_platdata (&i2c_client->dev);int ret, i; -unsigned int devid =0 ; +unsigned int devid;unsigned int alpha_rev, metal_rev;unsigned int reg;
@@ -1245,6 +1245,11 @@ static int cs42l56_i2c_probe(struct i2c_client *i2c_client, } ret =regmap_read (cs42l56->regmap,CS42L56_CHIP_ID_1 , ®); +if (ret) { +dev_err (&i2c_client->dev,"Failed to read chip ID: %d\n" , ret); +return ret; + } + devid = reg &CS42L56_CHIP_ID_MASK ;if (devid !=CS42L56_DEVID ) { dev_err(&i2c_client->dev,
Signature · 1 line
2.11.0
Mark Brown
maintainerQuoted 4 lines · Charles Keepax
This device requires single register transactions, this will definely cause problems with the new device ID parsing which uses
regmap_bulk_readbut might also show up in the cache sync sometimes. Add the missing flags to theregmap_config.
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/5] ASoC: cs53l30: Add missing regmap use_single config
(no commit info)
[2/5] ASoC: cs42l73: Add missing regmap use_single config
(no commit info)
[3/5] ASoC: cs35l34: Add missing regmap use_single config
(no commit info)
[4/5] ASoC: cs35l32: Add missing regmap use_single config
(no commit info)
[5/5] ASoC: cs42l52: Minor tidy up of error paths
commit: 4ac9b48adf4d561d0e33419d548278f205dd70b5
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark