Re: [PATCH 1/1] ALSA: isa: Fix error return code in snd_cmi8330_probe()

From: Takashi Iwai
Date: Wed Jul 07 2021 - 07:26:42 EST


On Wed, 07 Jul 2021 09:40:51 +0200,
Zhen Lei wrote:
>
> 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 <hulkci@xxxxxxxxxx>
> Signed-off-by: Zhen Lei <thunder.leizhen@xxxxxxxxxx>

Thanks, applied.


Takashi