diff options
Diffstat (limited to 'sound/soc/soc-dapm.c')
-rw-r--r-- | sound/soc/soc-dapm.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c index 620d7ea3c15f..af3326c63504 100644 --- a/sound/soc/soc-dapm.c +++ b/sound/soc/soc-dapm.c | |||
@@ -226,7 +226,7 @@ static int dapm_update_bits(struct snd_soc_dapm_widget *widget) | |||
226 | snd_soc_write(codec, widget->reg, new); | 226 | snd_soc_write(codec, widget->reg, new); |
227 | pop_wait(POP_TIME); | 227 | pop_wait(POP_TIME); |
228 | } | 228 | } |
229 | dbg("reg old %x new %x change %d\n", old, new, change); | 229 | dbg("reg %x old %x new %x change %d\n", widget->reg, old, new, change); |
230 | return change; | 230 | return change; |
231 | } | 231 | } |
232 | 232 | ||
@@ -1288,7 +1288,7 @@ int snd_soc_dapm_stream_event(struct snd_soc_codec *codec, | |||
1288 | mutex_unlock(&codec->mutex); | 1288 | mutex_unlock(&codec->mutex); |
1289 | 1289 | ||
1290 | dapm_power_widgets(codec, event); | 1290 | dapm_power_widgets(codec, event); |
1291 | dump_dapm(codec, __FUNCTION__); | 1291 | dump_dapm(codec, __func__); |
1292 | return 0; | 1292 | return 0; |
1293 | } | 1293 | } |
1294 | EXPORT_SYMBOL_GPL(snd_soc_dapm_stream_event); | 1294 | EXPORT_SYMBOL_GPL(snd_soc_dapm_stream_event); |
@@ -1334,10 +1334,11 @@ int snd_soc_dapm_set_endpoint(struct snd_soc_codec *codec, | |||
1334 | list_for_each_entry(w, &codec->dapm_widgets, list) { | 1334 | list_for_each_entry(w, &codec->dapm_widgets, list) { |
1335 | if (!strcmp(w->name, endpoint)) { | 1335 | if (!strcmp(w->name, endpoint)) { |
1336 | w->connected = status; | 1336 | w->connected = status; |
1337 | return 0; | ||
1337 | } | 1338 | } |
1338 | } | 1339 | } |
1339 | 1340 | ||
1340 | return 0; | 1341 | return -ENODEV; |
1341 | } | 1342 | } |
1342 | EXPORT_SYMBOL_GPL(snd_soc_dapm_set_endpoint); | 1343 | EXPORT_SYMBOL_GPL(snd_soc_dapm_set_endpoint); |
1343 | 1344 | ||