ALSA: hda: cirrus_scodec: fix an error code
The "ret" variable is zero but we should return -EINVAL. Fixes: 2144833e ("ALSA: hda: cirrus_scodec: Add KUnit test") Signed-off-by:Dan Carpenter <dan.carpenter@linaro.org> Reviewed-by:
Richard Fitzgerald <rf@opensource.cirrus.com> Link: https://lore.kernel.org/r/5eea7fd5-67c8-4ed4-b5b3-b85dfb7572cc@moroto.mountainSigned-off-by:
Takashi Iwai <tiwai@suse.de>
Showing
Please register or sign in to comment