[alsa-devel] [PATCH 1/2] ALSA: soc - fsl_ssi.c fix audio capture

Timur Tabi timur at freescale.com
Mon Jul 21 16:56:17 CEST 2008


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


More information about the Alsa-devel mailing list