X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=sound%2Fsoc%2Fcodecs%2Fwm8753.c;h=3a629d0d690ed1fbe8129f096e0edf492faf9eb2;hb=2391a0e06789a3f1718dee30b282562f7ed28c87;hp=a9504710bb692e806655e785e5f35121ecf4afc1;hpb=6585dea1f99cc2265582ff2e4cc1727062136e92;p=pandora-kernel.git diff --git a/sound/soc/codecs/wm8753.c b/sound/soc/codecs/wm8753.c index a9504710bb69..3a629d0d690e 100644 --- a/sound/soc/codecs/wm8753.c +++ b/sound/soc/codecs/wm8753.c @@ -190,6 +190,9 @@ static int wm8753_set_dai(struct snd_kcontrol *kcontrol, struct wm8753_priv *wm8753 = snd_soc_codec_get_drvdata(codec); u16 ioctl; + if (wm8753->dai_func == ucontrol->value.integer.value[0]) + return 0; + if (codec->active) return -EBUSY;