Skip to content
Commit 943f4e64 authored by Vitaly Rodionov's avatar Vitaly Rodionov Committed by Takashi Iwai
Browse files

ALSA: hda: cs35l41: Correct error condition handling



Function cs_dsp_coeff_write_ctrl() can return 3 possible values:
0 - no change, 1 - value has changed and -1 - error, so positive value
is not an error.
Fixes: 7406bdbc ("ASoC: wm_adsp: Return whether changed when writing controls")

Signed-off-by: default avatarVitaly Rodionov <vitalyr@opensource.cirrus.com>
Signed-off-by: default avatarStefan Binding <sbinding@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20230213145008.1215849-2-sbinding@opensource.cirrus.com


Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent aacdac35
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment