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:
86fd652
)
rk616 codec: playback do not power up while hdmi is in
author
wuhao
<wuhao@wuhao@rock-chips.com>
Thu, 6 Jun 2013 02:16:58 +0000
(10:16 +0800)
committer
wuhao
<wuhao@wuhao@rock-chips.com>
Thu, 6 Jun 2013 02:16:58 +0000
(10:16 +0800)
sound/soc/codecs/rk616_codec.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/rk616_codec.c
b/sound/soc/codecs/rk616_codec.c
index 78a93f3c5611c6f0957272601a828d3608ef1074..4d1617e782f98552522e5ea6b1f514b52c6b56f9 100755
(executable)
--- a/
sound/soc/codecs/rk616_codec.c
+++ b/
sound/soc/codecs/rk616_codec.c
@@
-1727,6
+1727,7
@@
static int rk616_codec_power_up(int type)
type == RK616_CODEC_CAPTURE ? "capture" : "");
if (type == RK616_CODEC_PALYBACK) {
+ if(! get_hdmi_state())
for (i = 0; i < RK616_CODEC_PALYBACK_POWER_UP_LIST_LEN; i++) {
snd_soc_write(codec, palyback_power_up_list[i].reg,
palyback_power_up_list[i].value);