git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ASoC: wm8753: Skip noop reconfiguration of DAI mode
[pandora-kernel.git]
/
sound
/
soc
/
codecs
/
wm8753.c
diff --git
a/sound/soc/codecs/wm8753.c
b/sound/soc/codecs/wm8753.c
index
a950471
..
3a629d0
100644
(file)
--- 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;