asoc: codecs: max98088: fix no audio after reset
Sayak Ghosh Choudhury [Thu, 2 Aug 2012 09:29:53 +0000 (14:29 +0530)]
98088 codec register value is altered to fix no audio issue after
reset. Previously after reset the register value was getting wiped
out.

Bug 1017782

Change-Id: I060929bfb868c48dc4db9def171a3bdd167a3913
Reviewed-on: http://git-master/r/120319
Tested-by: Sayak Choudhury <sayakc@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Vijay Mali <vmali@nvidia.com>
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>

sound/soc/codecs/max98088.c

index b2b31f9..31ca263 100644 (file)
@@ -389,7 +389,7 @@ static struct {
        { 0xFF, 0xFF, 0 }, /* 2C right SPK mixer */
        { 0xFF, 0xFF, 0 }, /* 2D SPK control */
        { 0xFF, 0xFF, 0 }, /* 2E sidetone */
-       { 0xFF, 0xFF, 0 }, /* 2F DAI1 playback level */
+       { 0xFF, 0xFF, 1 }, /* 2F DAI1 playback level */
 
        { 0xFF, 0xFF, 0 }, /* 30 DAI1 playback level */
        { 0xFF, 0xFF, 0 }, /* 31 DAI2 playback level */