Message ID | 1373526505-27115-2-git-send-email-padma.v@samsung.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Thu, Jul 11, 2013 at 12:38:25PM +0530, Padmavathi Venna wrote: > As per the User Manual, the RFS and BFS should be set in slave mode > for correct operation. Applied, thanks. Since this is a fix it should have been the first patch in the series - this allows fixes to be sent to > Reviewed-on: https://gerrit-int.chromium.org/37841 Including things like this isn't terribly helpful - this is the Chromium internal system and nobody in the community can view the review. A link to a public system might be useful but a private one should be omitted.
Hi, On Thu, Jul 11, 2013 at 4:41 PM, Mark Brown <broonie@kernel.org> wrote: > On Thu, Jul 11, 2013 at 12:38:25PM +0530, Padmavathi Venna wrote: >> As per the User Manual, the RFS and BFS should be set in slave mode >> for correct operation. > > Applied, thanks. Since this is a fix it should have been the first > patch in the series - this allows fixes to be sent to > >> Reviewed-on: https://gerrit-int.chromium.org/37841 > > Including things like this isn't terribly helpful - this is the Chromium > internal system and nobody in the community can view the review. A link > to a public system might be useful but a private one should be omitted. I thought it was link to the public gerrit review system. Will remove next time. Thanks Padma
diff --git a/sound/soc/samsung/i2s.c b/sound/soc/samsung/i2s.c index 82ebb1a..3fcf8d7 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);