From: Takashi Iwai Date: Mon, 17 Mar 2008 09:16:37 +0000 (+0100) Subject: [ALSA] ice1724 - Fix return codes in some pointis callbacks X-Git-Tag: v2.6.26-rc1~1087^2~121 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43337ac0dec5fe507b3028d2ad4404c3f1a28034;p=linux-2.6 [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 --- diff --git a/sound/pci/ice1712/pontis.c b/sound/pci/ice1712/pontis.c index 4945c81e8a..203cdc1bf8 100644 --- a/sound/pci/ice1712/pontis.c +++ b/sound/pci/ice1712/pontis.c @@ -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; }