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:
f8d0a3b
)
rt5616: disable log error
author
yj
<yangjie@rock-chips.com>
Tue, 1 Apr 2014 02:54:54 +0000
(10:54 +0800)
committer
yj
<yangjie@rock-chips.com>
Tue, 1 Apr 2014 02:54:54 +0000
(10:54 +0800)
sound/soc/codecs/rt5616.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/rt5616.c
b/sound/soc/codecs/rt5616.c
index 9302581435c16da54995d2d0723e9467bd3d3964..60a1224d769247ac8c12d00661856bd0b40eb095 100755
(executable)
--- a/
sound/soc/codecs/rt5616.c
+++ b/
sound/soc/codecs/rt5616.c
@@
-1251,10
+1251,11
@@
static int rt5616_prepare(struct snd_pcm_substream *substream,
static int rt5616_set_gpio(struct rt5616_priv *rt5616, int gpio, bool level)
{
- //printk("%s : set %s ctl gpio %s\n", __func__,
+#if 0
+ printk("%s : set %s ctl gpio %s\n", __func__,
gpio & rt5616_CODEC_SET_SPK ? "spk" : "",
level ? "HIGH" : "LOW");
-
+#endif
if ((gpio & rt5616_CODEC_SET_SPK) && gpio_is_valid(rt5616->spk_ctl_gpio)) {
mdelay(100);
gpio_set_value(rt5616->spk_ctl_gpio, level);