diff options
author | Zhen Lei <[email protected]> | 2021-07-07 15:40:51 +0800 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2021-07-07 13:26:19 +0200 |
commit | 31028cbed26a8afa25533a10425ffa2ab794c76c (patch) | |
tree | 0689236dc098938fb6ad67d6d1968265267b76bd /lib/mpi/mpi-sub-ui.c | |
parent | ced7c2877523323ff5498890c497f93dc84a0b64 (diff) |
ALSA: isa: Fix error return code in snd_cmi8330_probe()
When 'SB_HW_16' check fails, the error code -ENODEV instead of 0 should be
returned, which is the same as that returned when 'WSS_HW_CMI8330' check
fails.
Fixes: 43bcd973d6d0 ("[ALSA] Add snd_card_set_generic_dev() call to ISA drivers")
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Zhen Lei <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions