ASoC: codecs/sgtl5000.c: specify correct reg_stride in regmap_config.
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): 20130825084426.GA10708@zzm-ubuntu
Quoted 18 lines · On Sun, 25 Aug 2013 16:44:26 +0800 zengzhaoming <[email protected]> wrote:
Quoted 17 lines · David Jander
This makes the RB-Tree more compact and efficient.
Signed-off-by David Jander <[email protected]>--- sound/soc/codecs/sgtl5000.c | 1 + 1 file changed, 1 insertion(+)sound/soc/codecs/sgtl5000.c +1
-0@@ -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 ,
Quoted 7 lines
Quoted 4 lines
sound/soc/codecs/sgtl5000.c +0
-0.max_register = SGTL5000_MAX_REG_OFFSET, .volatile_reg = sgtl5000_volatile,Signature · 1 line
1.8.1.2Fabio 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,
Signature · 2 lines
David Jander Protonic Holland.
Quoted 3 lines · David Jander
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.