summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/arizona.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2016-01-06 00:07:32 +0100
committerMark Brown <broonie@kernel.org>2016-01-06 00:07:32 +0100
commit7a78d9439ae9515a8ed2b97c267e54da92f2def0 (patch)
tree58c582a5f9207da7e842dc08b11955bfd8bf841b /sound/soc/codecs/arizona.c
parentLinux 4.4-rc8 (diff)
parentASoC: arizona: Fix bclk for sample rates that are multiple of 4kHz (diff)
downloadlinux-7a78d9439ae9515a8ed2b97c267e54da92f2def0.tar.xz
linux-7a78d9439ae9515a8ed2b97c267e54da92f2def0.zip
Merge remote-tracking branch 'asoc/fix/arizona' into asoc-linus
Diffstat (limited to 'sound/soc/codecs/arizona.c')
-rw-r--r--sound/soc/codecs/arizona.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/arizona.c b/sound/soc/codecs/arizona.c
index b3ea24d64c50..93b400800905 100644
--- a/sound/soc/codecs/arizona.c
+++ b/sound/soc/codecs/arizona.c
@@ -1537,7 +1537,7 @@ static int arizona_hw_params(struct snd_pcm_substream *substream,
bool reconfig;
unsigned int aif_tx_state, aif_rx_state;
- if (params_rate(params) % 8000)
+ if (params_rate(params) % 4000)
rates = &arizona_44k1_bclk_rates[0];
else
rates = &arizona_48k_bclk_rates[0];