diff options
author | Takashi Iwai <tiwai@suse.de> | 2008-03-17 10:16:37 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-04-24 12:00:25 +0200 |
commit | 43337ac0dec5fe507b3028d2ad4404c3f1a28034 (patch) | |
tree | c5701790cc473883c731c1fab36def8868a16d29 /sound/pci/ice1712 | |
parent | [ALSA] usb-audio - Add a proper error check (diff) | |
download | linux-43337ac0dec5fe507b3028d2ad4404c3f1a28034.tar.xz linux-43337ac0dec5fe507b3028d2ad4404c3f1a28034.zip |
[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>
Diffstat (limited to 'sound/pci/ice1712')
-rw-r--r-- | sound/pci/ice1712/pontis.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/ice1712/pontis.c b/sound/pci/ice1712/pontis.c index 4945c81e8a96..203cdc1bf8da 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; } |