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:
e47737f
)
rk2928 codec: enable adc 6db digital gain.
author
Zheng Yang
<zhengyang@rock-chips.com>
Thu, 27 Sep 2012 01:43:22 +0000
(09:43 +0800)
committer
Zheng Yang
<zhengyang@rock-chips.com>
Thu, 27 Sep 2012 01:43:22 +0000
(09:43 +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 8fe8fedb9f0f555496f40137e22f2fa558be2075..b3de543b0ee61f3e1cedf981ff9c8ecd51d8851b 100755
(executable)
--- a/
sound/soc/codecs/rk2928_codec.c
+++ b/
sound/soc/codecs/rk2928_codec.c
@@
-155,8
+155,8
@@
static int rk2928_audio_trigger(struct snd_pcm_substream *substream, int cmd,
}
else {
rk2928_write(codec, CODEC_REG_ADC_PGA_GAIN, 0xFF);
-
//
rk2928_write(codec, 0x08, 0xff);
-
//
rk2928_write(codec, 0x09, 0x07);
+
rk2928_write(codec, 0x08, 0xff);
+
rk2928_write(codec, 0x09, 0x07);
}
break;
case SNDRV_PCM_TRIGGER_STOP: