mirror of
https://github.com/torvalds/linux.git
synced 2024-11-16 17:12:06 +00:00
be41e941d5
The Freescale MPC8610 SSI device has the option of using one clock for both transmit and receive (synchronous mode), or independent clocks (asynchronous). The SSI driver, however, programs the SSI into synchronous mode and then tries to program the clock registers independently. The result is that the wrong sample size is usually generated during recording. This patch fixes the discrepancy by restricting the sample rate and sample size of the playback and capture streams. The SSI driver remembers which stream is opened first. When a second stream is opened, that stream is constrained to the same sample rate and size as the first stream. A future version of this driver will lift the sample size restriction. Supporting independent sample rates is more difficult, because only certain codecs provide dual independent clocks. Signed-off-by: Timur Tabi <timur@freescale.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> |
||
---|---|---|
.. | ||
at32 | ||
at91 | ||
au1x | ||
codecs | ||
davinci | ||
fsl | ||
omap | ||
pxa | ||
s3c24xx | ||
sh | ||
Kconfig | ||
Makefile | ||
soc-core.c | ||
soc-dapm.c |