Re: [alsa-devel] [PATCH] ASoC: codecs/sgtl5000.c: specify correct reg_stride in regmap_config.
On Sun, 25 Aug 2013 16:44:26 +0800 zengzhaoming zengzm.kernel@gmail.com wrote:
On 08-22/08:23, David Jander wrote:
This makes the RB-Tree more compact and efficient.
Signed-off-by: David Jander david@protonic.nl
sound/soc/codecs/sgtl5000.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/sound/soc/codecs/sgtl5000.c b/sound/soc/codecs/sgtl5000.c index 760e8bf..ba5ca67 100644 --- a/sound/soc/codecs/sgtl5000.c +++ b/sound/soc/codecs/sgtl5000.c @@ -1480,6 +1480,7 @@ static struct snd_soc_codec_driver sgtl5000_driver = { static const struct regmap_config sgtl5000_regmap = { .reg_bits = 16, .val_bits = 16,
.reg_stride = 2,
.max_register = SGTL5000_MAX_REG_OFFSET, .volatile_reg = sgtl5000_volatile,
-- 1.8.1.2
Fabio has post same patch for this. http://comments.gmane.org/gmane.linux.alsa.devel/109903
Oh. I didn't see that one, sorry. Fabio's patch is from July, 5th. It takes quite some time for this to hit mainline then....
Best regards,
On Mon, Aug 26, 2013 at 3:18 AM, David Jander david.jander@protonic.nl wrote:
Oh. I didn't see that one, sorry. Fabio's patch is from July, 5th. It takes quite some time for this to hit mainline then....
This patch is already in linux-next tree.
It will hit mainline in 3.12.
participants (2)
-
David Jander
-
Fabio Estevam