alistair23-linux/sound
Timur Tabi be41e941d5 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>
2008-07-29 12:27:10 +02:00
..
aoa sound: Convert to menuconfig 2008-05-27 15:56:20 +02:00
arm sound: Convert to menuconfig 2008-05-27 15:56:20 +02:00
core PAGE_ALIGN(): correctly handle 64-bit values on 32-bit architectures 2008-07-24 10:47:21 -07:00
drivers Merge git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git 2008-07-14 15:51:11 -07:00
i2c V4L/DVB (8523): v4l2-dev: remove unused type and type2 field from video_device 2008-07-27 11:07:10 -03:00
isa ALSA: cs4232: fix crash during chip PNP detection 2008-07-27 10:22:27 +02:00
mips ALSA: ALSA driver for SGI O2 audio board 2008-07-14 09:01:02 +02:00
oss CONFIG_SOUND_WM97XX: remove stale makefile line 2008-07-24 10:47:27 -07:00
parisc sound: Convert to menuconfig 2008-05-27 15:56:20 +02:00
pci ALSA: Allow to force model to intel-mac-v3 in snd_hda_intel (sigmatel). 2008-07-27 10:22:27 +02:00
pcmcia ALSA: Fix a const to non-const assignment in the Digigram VXpocket sound driver 2008-07-10 09:32:57 +02:00
ppc ALSA: remove CONFIG_KMOD from sound 2008-07-10 09:32:58 +02:00
sh sound: Convert to menuconfig 2008-05-27 15:56:20 +02:00
soc ALSA: asoc: restrict sample rate and size in Freescale MPC8610 sound drivers 2008-07-29 12:27:10 +02:00
sparc ALSA: make sparc/dbri.c:snd_dbri_proc() static 2008-06-06 11:55:05 +02:00
spi sound: Convert to menuconfig 2008-05-27 15:56:20 +02:00
synth [ALSA] emux midi synthesizer doesn't honor SOFT_PEDAL-release event 2008-05-13 14:47:43 +02:00
usb ALSA: usb-audio: add some Yamaha USB MIDI quirks 2008-07-10 11:05:42 +02:00
ac97_bus.c
Kconfig sound: Convert to menuconfig 2008-05-27 15:56:20 +02:00
last.c
Makefile
sound_core.c device create: sound: convert device_create to device_create_drvdata 2008-07-21 21:54:44 -07:00
sound_firmware.c