ALSA: ice1712: fix: lock samplerate when samplerate locking is enabled
authorSebastien Alaiwan <sebastien.alaiwan@gmail.com>
Fri, 5 Feb 2010 07:58:20 +0000 (08:58 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 5 Feb 2010 07:58:20 +0000 (08:58 +0100)
commit350a514787a4516746f738f69bff6aa0d4ac70e9
treec03b97d3ed3cb68070df744ee178859df27aaef9
parentc85a400499093b2025238413198e48e4d825723e
ALSA: ice1712: fix: lock samplerate when samplerate locking is enabled

I found that the sampling rate locking setting of the ice1712 sound driver
was only half-respected : when the driver was locked to, let's say, 44100Hz,
and a usermode app was requesting 48000Hz playback, the request was succesful
although the soundcard would continue to run at 44100Hz.

Here's a patch that will make those requests to fail.

Signed-off-by: Sebastien Alaiwan <sebastien.alaiwan@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ice1712/ice1712.c