WSL2-Linux-Kernel/sound/pci/asihpi
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
..
Makefile ALSA: Add support of AudioScience ASI boards 2010-04-22 07:21:53 +02:00
asihpi.c ALSA: asihpi: add format support check in snd_card_asihpi_capture_formats 2013-04-29 13:37:33 +02:00
hpi.h ALSA: asihpi - New defs and comments. 2011-12-22 08:13:07 +01:00
hpi6000.c ALSA: asihpi - Remove redundant struct members. 2011-12-22 08:13:05 +01:00
hpi6000.h ALSA: asihpi - Update copyright to 2011 2011-12-22 08:12:57 +01:00
hpi6205.c ALSA: asihpi - Distinguish four different emif init errors. 2011-12-22 08:13:08 +01:00
hpi6205.h ALSA: asihpi - Increase request and response buffer sizes 2011-07-22 07:45:26 +02:00
hpi_internal.h ALSA: asihpi - fix return value of hpios_locked_mem_alloc() 2012-03-30 16:24:48 +02:00
hpi_version.h ALSA: asihpi - Split hpi version info into separate header file. 2011-12-22 08:12:56 +01:00
hpicmn.c ALSA: asihpi - Correct headers in cached control responses. 2011-12-22 08:13:10 +01:00
hpicmn.h ALSA: asihpi - Remove redundant struct members. 2011-12-22 08:13:05 +01:00
hpidebug.c ALSA: asihpi - Update copyright to 2011 2011-12-22 08:12:57 +01:00
hpidebug.h ALSA: asihpi - Update copyright to 2011 2011-12-22 08:12:57 +01:00
hpidspcd.c ALSA: Convert dev_printk(KERN_<LEVEL> to dev_<level>( 2012-10-28 09:56:20 +01:00
hpidspcd.h ALSA: asihpi - Split hpi version info into separate header file. 2011-12-22 08:12:56 +01:00
hpifunc.c ALSA: asihpi - Add autofade query. 2011-12-22 08:13:07 +01:00
hpimsginit.c ALSA: asihpi - Update copyright to 2011 2011-12-22 08:12:57 +01:00
hpimsginit.h ALSA: asihpi - Update copyright to 2011 2011-12-22 08:12:57 +01:00
hpimsgx.c ALSA: asihpi - Split hpi version info into separate header file. 2011-12-22 08:12:56 +01:00
hpimsgx.h ALSA: asihpi - Update copyright to 2011 2011-12-22 08:12:57 +01:00
hpioctl.c ALSA: pci: remove __dev* attributes 2012-12-07 07:20:55 +01:00
hpioctl.h ALSA: pci: remove __dev* attributes 2012-12-07 07:20:55 +01:00
hpios.c ALSA: asihpi - fix return value of hpios_locked_mem_alloc() 2012-03-30 16:24:48 +02:00
hpios.h Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
hpipcida.h ALSA: asihpi - Update copyright to 2011 2011-12-22 08:12:57 +01:00