[3.13.y.z extended stable] Patch "ASoC: rt5640: Do not allow regmap to use bulk read-write operations" has been added to staging queue

Kamal Mostafa kamal at canonical.com
Tue Sep 30 21:29:43 UTC 2014

This is a note to let you know that I have just added a patch titled

    ASoC: rt5640: Do not allow regmap to use bulk read-write operations

to the linux-3.13.y-queue branch of the 3.13.y.z extended stable tree 
which can be found at:


This patch is scheduled to be released in version

If you, or anyone else, feels it should not be added to this tree, please 
reply to this email.

For more information about the 3.13.y.z tree, see



>From d94e8b8b20affe1610645121c7c605c9fe36dc56 Mon Sep 17 00:00:00 2001
From: Jarkko Nikula <jarkko.nikula at linux.intel.com>
Date: Tue, 26 Aug 2014 17:03:13 +0300
Subject: ASoC: rt5640: Do not allow regmap to use bulk read-write operations

commit f4821e8e8e957fe4c601a49b9a97b7399d5f7ab1 upstream.

Debugging showed Realtek RT5642 doesn't support autoincrementing writes so
driver should set the use_single_rw flag for regmap.

Signed-off-by: Jarkko Nikula <jarkko.nikula at linux.intel.com>
Signed-off-by: Mark Brown <broonie at linaro.org>
Signed-off-by: Kamal Mostafa <kamal at canonical.com>
 sound/soc/codecs/rt5640.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/codecs/rt5640.c b/sound/soc/codecs/rt5640.c
index 8869249..5cb515b 100644
--- a/sound/soc/codecs/rt5640.c
+++ b/sound/soc/codecs/rt5640.c
@@ -2071,6 +2071,7 @@ static struct snd_soc_codec_driver soc_codec_dev_rt5640 = {
 static const struct regmap_config rt5640_regmap = {
 	.reg_bits = 8,
 	.val_bits = 16,
+	.use_single_rw = true,

 	.max_register = RT5640_VENDOR_ID2 + 1 + (ARRAY_SIZE(rt5640_ranges) *

More information about the kernel-team mailing list