summaryrefslogtreecommitdiff
path: root/sound/hda
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2023-09-27 15:44:01 +0300
committerTakashi Iwai <tiwai@suse.de>2023-09-30 09:47:17 +0200
commitc258bcc289e6920038186eae38b2b7aa9786d796 (patch)
tree57625fa05050acf185e406723ed9694a2fa48a02 /sound/hda
parentf5cc9cdfc96fb1f26f986801cee473e2e68ba737 (diff)
downloadlwn-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