ASoC: dapm: Correct regulator bypass error messages
PATCH 1/1 ASoC: dapm: Correct regulator bypass error messages
The error messages for bypassing/unbypassing a regulator appear to be swapped round, this patch corrects these.
Signed-off-by Charles Keepax <[email protected]>
--- sound/soc/soc-dapm.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
sound/soc/soc-dapm.c +3 -3
@@ -1219,7 +1219,7 @@ int dapm_regulator_event(struct snd_soc_dapm_widget *w, ret =regulator_allow_bypass (w->regulator, false);if (ret !=0 )dev_warn (w->dapm->dev, -"ASoC: Failed to bypass %s: %d\n" , +"ASoC: Failed to unbypass %s: %d\n" , w->name, ret); }
@@ -1229,7 +1229,7 @@ int dapm_regulator_event(struct snd_soc_dapm_widget *w, ret =regulator_allow_bypass (w->regulator, true);if (ret !=0 )dev_warn (w->dapm->dev, -"ASoC: Failed to unbypass %s: %d\n" , +"ASoC: Failed to bypass %s: %d\n" , w->name, ret); }
@@ -3249,7 +3249,7 @@ snd_soc_dapm_new_control(struct snd_soc_dapm_context *dapm, ret =regulator_allow_bypass (w->regulator, true);if (ret !=0 )dev_warn (w->dapm->dev, -"ASoC: Failed to unbypass %s: %d\n" , +"ASoC: Failed to bypass %s: %d\n" , w->name, ret); }break ;
Signature · 1 line
1.7.2.5
Quoted 2 lines · Charles Keepax
The error messages for bypassing/unbypassing a regulator appear to be swapped round, this patch corrects these.
Applied, thanks.