mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 16:54:20 +08: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 |