Eldad Zack 167d0a11d5 ALSA: asihpi: add format support check in snd_card_asihpi_capture_formats
Some Asihpi formats are not supported or invalid, and their mapping to
ALSA format is set to -1.
Before performing the format conversion into ALSA bitwise formats,
add a consistency check for the requested format, as done in
snd_card_asihpi_playback_formats().

Compile tested only.

Signed-off-by: Eldad Zack <eldad@fogrefinery.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2013-04-29 13:37:33 +02:00
..
2012-11-04 09:20:58 +01:00
2012-12-07 07:29:45 +01:00
2013-04-26 07:36:38 +02:00
2012-12-07 07:33:30 +01:00
2012-12-07 07:33:47 +01:00
2013-04-25 13:02:35 +02:00
2013-04-11 11:58:12 +02:00
2013-02-22 23:31:31 -05:00