3 Jul
2008
3 Jul
'08
4:42 p.m.
On Thu, Jul 03, 2008 at 06:37:14PM +0400, Anton Vorontsov wrote:
Since we're using SSI in synchronous mode, the STCCR register controls both the receive and transmit sections. So, when we're trying to record anything, stccr register does not get initialized, thus the output file filled with the white noise.
Fix this by initializing the STCCR for both playback and capture. If TX/RX widths don't match, return that we're busy at the moment.
Signed-off-by: Anton Vorontsov avorontsov@ru.mvista.com
Acked-by: Mark Brown broonie@opensource.wolfsonmicro.com
but Timur needs to ack it since I don't have any particular knowledge of the hardware.