projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d90dc0d
)
rk2928 codec: reset codec when probe.
author
Zheng Yang
<zhengyang@rock-chips.com>
Fri, 25 Jan 2013 00:59:34 +0000
(08:59 +0800)
committer
Zheng Yang
<zhengyang@rock-chips.com>
Fri, 25 Jan 2013 00:59:34 +0000
(08:59 +0800)
sound/soc/codecs/rk2928_codec.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/rk2928_codec.c
b/sound/soc/codecs/rk2928_codec.c
index 6406c41661771309ef64dcd95ff81c44a32ed199..a9feb0aa7eabc79671eba6e873af4e80373ecd14 100755
(executable)
--- a/
sound/soc/codecs/rk2928_codec.c
+++ b/
sound/soc/codecs/rk2928_codec.c
@@
-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);