mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 11:19:37 +00:00
[ALSA] ice1724 - Fix return codes in some pointis callbacks
Fixed the return codes (1 for changed values) in put callbacks of pontis. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
5a220c868e
commit
43337ac0de
1 changed files with 2 additions and 2 deletions
|
@ -246,7 +246,7 @@ static int wm_adc_mux_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_val
|
|||
wm_put(ice, WM_ADC_MUX, nval);
|
||||
}
|
||||
mutex_unlock(&ice->gpio_mutex);
|
||||
return 0;
|
||||
return change;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -450,7 +450,7 @@ static int cs_source_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_valu
|
|||
change = 1;
|
||||
}
|
||||
mutex_unlock(&ice->gpio_mutex);
|
||||
return 0;
|
||||
return change;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue