diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2023-09-27 15:44:01 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2023-09-30 09:47:17 +0200 |
commit | c258bcc289e6920038186eae38b2b7aa9786d796 (patch) | |
tree | 57625fa05050acf185e406723ed9694a2fa48a02 /sound/hda | |
parent | f5cc9cdfc96fb1f26f986801cee473e2e68ba737 (diff) | |
download | lwn-c258bcc289e6920038186eae38b2b7aa9786d796.tar.gz lwn-c258bcc289e6920038186eae38b2b7aa9786d796.zip |
ALSA: hda: cirrus_scodec: fix an error code
The "ret" variable is zero but we should return -EINVAL.
Fixes: 2144833e7b41 ("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.mountain
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/hda')
0 files changed, 0 insertions, 0 deletions