]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00141647 AUDIO,SGTL5000: Fix codec error after reset
authorZeng Zhaoming <b32542@freescale.com>
Tue, 5 Apr 2011 18:19:15 +0000 (02:19 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:32:43 +0000 (08:32 +0200)
commit4686deb570cec9ee7fef300161fccdd223a7b728
treea0811e7c432a156c3efcfe096426f6dd6fe9fff0
parentf23d1582a6fd2151039ff54407de212086e72f27
ENGR00141647 AUDIO,SGTL5000: Fix codec error after reset

sgtl5000 codec not work after board reset, this is caused by
sgtl5000 using register address step is 2, and snd-soc-core can't
handle this as we expect, so we have to fill the register cache by
reading register out when initialization instead of providing a default
value array.

Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
sound/soc/codecs/sgtl5000.c
sound/soc/soc-core.c