summaryrefslogtreecommitdiff
path: root/sound/soc/soc-pcm.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2014-10-08 19:44:49 +0400
committerMark Brown <broonie@kernel.org>2014-10-08 19:44:49 +0400
commitb9fb729949bcd9e592a4c599d2d7875157181db9 (patch)
treeea7755a55656ca3febad3ced03229e3f2e81669d /sound/soc/soc-pcm.c
parent7b8ab38e8d9cc804f0d3c263bfaa62d82d8a2da7 (diff)
parent5e63dfccf34d4dbf21429c4919f33c028ff49991 (diff)
downloadlinux-b9fb729949bcd9e592a4c599d2d7875157181db9.tar.xz
Merge remote-tracking branch 'asoc/fix/core' into asoc-linus
Diffstat (limited to 'sound/soc/soc-pcm.c')
-rw-r--r--sound/soc/soc-pcm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/soc-pcm.c b/sound/soc/soc-pcm.c
index 642c86240752..002311afdeaa 100644
--- a/sound/soc/soc-pcm.c
+++ b/sound/soc/soc-pcm.c
@@ -352,7 +352,7 @@ static void soc_pcm_apply_msb(struct snd_pcm_substream *substream)
} else {
for (i = 0; i < rtd->num_codecs; i++) {
codec_dai = rtd->codec_dais[i];
- if (codec_dai->driver->playback.sig_bits == 0) {
+ if (codec_dai->driver->capture.sig_bits == 0) {
bits = 0;
break;
}