projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a220c8
)
[ALSA] ice1724 - Fix return codes in some pointis callbacks
author
Takashi Iwai
<tiwai@suse.de>
Mon, 17 Mar 2008 09:16:37 +0000
(10:16 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Thu, 24 Apr 2008 10:00:25 +0000
(12:00 +0200)
Fixed the return codes (1 for changed values) in put callbacks of
pontis.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ice1712/pontis.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/ice1712/pontis.c
b/sound/pci/ice1712/pontis.c
index 4945c81e8a96094d2c3bb73f9555a9d5ee6cd8b5..203cdc1bf8da3d99d3f1b6e23668c59049568ca6 100644
(file)
--- 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
;
}