summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2013-07-15 12:13:54 +0200
committerMark Brown <broonie@linaro.org>2013-07-15 12:13:54 +0200
commit441c93ed6e8776ce34c59af486b21c43ace177fb (patch)
treea063e0752ef6d31891f6bb53c65975132155f217 /sound
parentMerge remote-tracking branch 'asoc/fix/omap' into asoc-linus (diff)
parentASoC: Samsung: Set RFS and BFS in slave mode (diff)
downloadlinux-441c93ed6e8776ce34c59af486b21c43ace177fb.tar.xz
linux-441c93ed6e8776ce34c59af486b21c43ace177fb.zip
Merge remote-tracking branch 'asoc/fix/samsung' into asoc-linus
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/samsung/i2s.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/soc/samsung/i2s.c b/sound/soc/samsung/i2s.c
index 7a1734697434..959c702235c8 100644
--- a/sound/soc/samsung/i2s.c
+++ b/sound/soc/samsung/i2s.c
@@ -742,13 +742,13 @@ static int config_setup(struct i2s_dai *i2s)
return -EAGAIN;
}
- /* Don't bother RFS, BFS & PSR in Slave mode */
- if (is_slave(i2s))
- return 0;
-
set_bfs(i2s, bfs);
set_rfs(i2s, rfs);
+ /* Don't bother with PSR in Slave mode */
+ if (is_slave(i2s))
+ return 0;
+
if (!(i2s->quirks & QUIRK_NO_MUXPSR)) {
psr = i2s->rclk_srcrate / i2s->frmclk / rfs;
writel(((psr - 1) << 8) | PSR_PSREN, i2s->addr + I2SPSR);