From: yj Date: Tue, 1 Apr 2014 02:54:54 +0000 (+0800) Subject: rt5616: disable log error X-Git-Tag: firefly_0821_release~5687 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1671db28a6db4ae09ff4c19ad08c1f1e373b78d8;p=firefly-linux-kernel-4.4.55.git rt5616: disable log error --- diff --git a/sound/soc/codecs/rt5616.c b/sound/soc/codecs/rt5616.c index 9302581435c1..60a1224d7692 100755 --- 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);