rk2928 codec: reset codec when probe.
authorZheng Yang <zhengyang@rock-chips.com>
Fri, 25 Jan 2013 00:59:34 +0000 (08:59 +0800)
committerZheng Yang <zhengyang@rock-chips.com>
Fri, 25 Jan 2013 00:59:34 +0000 (08:59 +0800)
sound/soc/codecs/rk2928_codec.c

index 6406c41661771309ef64dcd95ff81c44a32ed199..a9feb0aa7eabc79671eba6e873af4e80373ecd14 100755 (executable)
@@ -417,6 +417,9 @@ static int rk2928_probe(struct snd_soc_codec *codec)
                        gpio_direction_output(rk2928_data.spkctl, GPIO_LOW);
        }
 
+       //Reset Codec
+       rk2929_codec_reset();
+
        // Select SDI input from internal audio codec
        writel(0x04000400, RK2928_GRF_BASE + GRF_SOC_CON0);