diff options
author | Eldad Zack <eldad@fogrefinery.com> | 2013-04-23 01:00:42 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-04-29 13:37:33 +0200 |
commit | 167d0a11d5feedd1f9cb9ae128ac543e97148eff (patch) | |
tree | d0e3ffee2a3094769459863ac84acc3f84bd955e /sound/usb | |
parent | 74c34ca1cc12884703c70d34ed333517d978c2e7 (diff) | |
download | linux-167d0a11d5feedd1f9cb9ae128ac543e97148eff.tar.bz2 |
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>
Diffstat (limited to 'sound/usb')
0 files changed, 0 insertions, 0 deletions