summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2015-02-05 20:34:46 +0100
committerMark Brown <broonie@kernel.org>2015-02-05 20:34:46 +0100
commit125e7f1f02a610411d097b44f0058f8c6415301e (patch)
tree17e2377c8f4b94812d8772b0aff98c8e5da5b3c1 /sound
parentMerge remote-tracking branch 'asoc/fix/sgtl5000' into asoc-linus (diff)
parentASoC: tlv320aic3x: Fix data delay configuration (diff)
downloadlinux-125e7f1f02a610411d097b44f0058f8c6415301e.tar.xz
linux-125e7f1f02a610411d097b44f0058f8c6415301e.zip
Merge remote-tracking branch 'asoc/fix/tlv320aic3x' into asoc-linus
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/tlv320aic3x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/tlv320aic3x.c b/sound/soc/codecs/tlv320aic3x.c
index b7ebce054b4e..dd222b10ce13 100644
--- a/sound/soc/codecs/tlv320aic3x.c
+++ b/sound/soc/codecs/tlv320aic3x.c
@@ -1046,7 +1046,7 @@ static int aic3x_prepare(struct snd_pcm_substream *substream,
delay += aic3x->tdm_delay;
/* Configure data delay */
- snd_soc_write(codec, AIC3X_ASD_INTF_CTRLC, aic3x->tdm_delay);
+ snd_soc_write(codec, AIC3X_ASD_INTF_CTRLC, delay);
return 0;
}