linux_2.6.37.bb: use non blocking DAI patch on om-gta02
[openembedded.git] / recipes / linux / linux-2.6.37 / gta02-dont-block-dai-switch.patch
blob92742ffecfed06a67015e75ab3dbbd8b0ec57fde
1 diff --git a/sound/soc/codecs/wm8753.c b/sound/soc/codecs/wm8753.c
2 index ffa2ffe..a72a716 100644
3 --- a/sound/soc/codecs/wm8753.c
4 +++ b/sound/soc/codecs/wm8753.c
5 @@ -189,6 +189,9 @@ static int wm8753_set_dai(struct snd_kcontrol *kcontrol,
6 struct wm8753_priv *wm8753 = snd_soc_codec_get_drvdata(codec);
7 u16 ioctl;
9 + if (wm8753->dai_func == ucontrol->value.integer.value[0])
10 + return 1;
12 if (codec->active)
13 return -EBUSY;