21 Jul
2008
21 Jul
'08
4:56 p.m.
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.
Also use hw_params and hw_free callbacks, so that we won't fail at the last moment, thus applications could negotiate.
I already have a patch that fixes this problem, I'm just not ready to post it.
I really do appreciate your efforts, Anton, but you have to give me a chance to do my job!
--
Timur Tabi
Linux kernel developer at Freescale