mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 00:21:59 +00:00
0d727e1856
Smatch complains that:
snd_usb_caiaq_input_init() warn: missing error code 'ret'
This patch adds a new case to handle the situation where the
device does not support any input methods in the
`snd_usb_caiaq_input_init` function. It returns an `-EINVAL` error code
to indicate that no input methods are supported on the device.
Fixes:
|
||
---|---|---|
.. | ||
audio.c | ||
audio.h | ||
control.c | ||
control.h | ||
device.c | ||
device.h | ||
input.c | ||
input.h | ||
Makefile | ||
midi.c | ||
midi.h |