projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b26451c
)
[ALSA] soc - Report errors from snd_soc_dapm_set_endpoint()
author
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Tue, 26 Feb 2008 12:16:08 +0000
(13:16 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Thu, 24 Apr 2008 10:00:16 +0000
(12:00 +0200)
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/soc/soc-dapm.c
patch
|
blob
|
history
diff --git
a/sound/soc/soc-dapm.c
b/sound/soc/soc-dapm.c
index 620d7ea3c15ff56a10aba1e9402c98aa2c6940c8..abac6847ecad59e44985b8cf3c5781eef9de8072 100644
(file)
--- a/
sound/soc/soc-dapm.c
+++ b/
sound/soc/soc-dapm.c
@@
-1334,10
+1334,11
@@
int snd_soc_dapm_set_endpoint(struct snd_soc_codec *codec,
list_for_each_entry(w, &codec->dapm_widgets, list) {
if (!strcmp(w->name, endpoint)) {
w->connected = status;
+ return 0;
}
}
- return
0
;
+ return
-ENODEV
;
}
EXPORT_SYMBOL_GPL(snd_soc_dapm_set_endpoint);