intel_sst: MRST can only do 16bit recording
authorWu Fengguang <wfg@linux.intel.com>
Tue, 3 May 2011 16:35:31 +0000 (17:35 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 May 2011 19:58:43 +0000 (12:58 -0700)
commita4820502949b8e81fba83c98704e1af8806c5a98
tree0f7fc540fe11445271a18c773a92b024899884f4
parent3ca13bdb3c79e8a5e79ddeddacdae3bd4611ab5d
intel_sst: MRST can only do 16bit recording

Fix bug

$ arecord -D dsnoop -r 48000 -f S16_LE 1.wav
ALSA lib pcm_direct.c:980:(snd1_pcm_direct_initialize_slave) unable to install hw params
ALSA lib pcm_dsnoop.c:604:(snd_pcm_dsnoop_open) unable to initialize slave
arecord: main:654: audio open error: Interrupted system call

Root cause is, the driver is reporting 32-bit capture capability
that is not supported by the MRST hardware. So the dsnoop plugin
end up requesting 32-bit capture which fails.

Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/intel_sst/intelmid.c