ASoC: DaVinci: Fix divide by zero error during 1st execution
authorTroy Kisky <troy.kisky@boundarydevices.com>
Fri, 11 Sep 2009 21:29:02 +0000 (14:29 -0700)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 23 Sep 2009 17:08:56 +0000 (10:08 -0700)
When both playback and capture stream were open
davinci_i2s_hw_params was setting parameters for
the wrong stream. The fix for davinci_i2s_hw_params
is sufficient, but it looks like a race still happens
in davici_pcm_open. This patch also makes the race smaller
but the next patch provides a better fix.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

No differences found