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:
0f47bc2
)
phonepad: modify rt3261 hp pwd pop.
author
宋秀杰
<sxj@rock-chips.com>
Fri, 19 Oct 2012 03:07:34 +0000
(11:07 +0800)
committer
宋秀杰
<sxj@rock-chips.com>
Fri, 19 Oct 2012 03:07:34 +0000
(11:07 +0800)
sound/soc/codecs/rt3261.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/rt3261.c
b/sound/soc/codecs/rt3261.c
index 9500843faecefab49f941afe4fbc788f6699c88c..393cf39326959efbf9233ee033a31d7de4528afd 100644
(file)
--- a/
sound/soc/codecs/rt3261.c
+++ b/
sound/soc/codecs/rt3261.c
@@
-3068,9
+3068,7
@@
static int rt3261_set_bias_level(struct snd_soc_codec *codec,
snd_soc_update_bits(codec, RT3261_HP_VOL,
RT3261_L_MUTE | RT3261_R_MUTE, RT3261_L_MUTE | RT3261_R_MUTE);
msleep(30);
- snd_soc_update_bits(codec, RT3261_DEPOP_M1,
- RT3261_HP_R_SMT_MASK | RT3261_HP_L_SMT_MASK,
- RT3261_HP_L_SMT_DIS | RT3261_HP_R_SMT_DIS);
+ snd_soc_write(codec, RT3261_DEPOP_M1, 0x0004);
snd_soc_update_bits(codec, RT3261_SPK_VOL,
RT3261_L_MUTE | RT3261_R_MUTE,