summaryrefslogtreecommitdiffstats
path: root/include/asm-m68knommu/MC68328.h
diff options
context:
space:
mode:
authorTimur Tabi <timur@freescale.com>2008-07-28 17:04:39 -0500
committerTakashi Iwai <tiwai@suse.de>2008-07-29 12:27:10 +0200
commitbe41e941d5f1a48bde7f44d09d56e8d2605f98e1 (patch)
treef8f519262a5466623538ce73c1d1c8ef34b9169e /include/asm-m68knommu/MC68328.h
parenta7b815169aae65072017efb1fba9dcecc82ba7c1 (diff)
downloadlinux-be41e941d5f1a48bde7f44d09d56e8d2605f98e1.tar.bz2
ALSA: asoc: restrict sample rate and size in Freescale MPC8610 sound drivers
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>
Diffstat (limited to 'include/asm-m68knommu/MC68328.h')
0 files changed, 0 insertions, 0 deletions