projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ASoC: Add helper function to check whether a CODEC is active
[cascardo/linux.git]
/
sound
/
soc
/
codecs
/
tlv320aic23.c
diff --git
a/sound/soc/codecs/tlv320aic23.c
b/sound/soc/codecs/tlv320aic23.c
index
5d430cc
..
458a6ae
100644
(file)
--- a/
sound/soc/codecs/tlv320aic23.c
+++ b/
sound/soc/codecs/tlv320aic23.c
@@
-400,7
+400,7
@@
static void tlv320aic23_shutdown(struct snd_pcm_substream *substream,
struct aic23 *aic23 = snd_soc_codec_get_drvdata(codec);
/* deactivate */
- if (!
codec->active
) {
+ if (!
snd_soc_codec_is_active(codec)
) {
udelay(50);
snd_soc_write(codec, TLV320AIC23_ACTIVE, 0x0);
}