Commit 6fbb32d1 authored by Peter Ujfalusi's avatar Peter Ujfalusi Committed by Mark Brown

ASoC: twl6040: Shift 2 identifies the HS output in out_drv_event

None of the driver handled by out_drv_event have it's power
bit shifted by 3.
Remove the case for shift 3, and also add comment for the cases.
Signed-off-by: default avatarPeter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 93eebc69
...@@ -563,14 +563,13 @@ static int out_drv_event(struct snd_soc_dapm_widget *w, ...@@ -563,14 +563,13 @@ static int out_drv_event(struct snd_soc_dapm_widget *w,
struct delayed_work *work; struct delayed_work *work;
switch (w->shift) { switch (w->shift) {
case 2: case 2: /* Headset output driver */
case 3:
out = &priv->headset; out = &priv->headset;
out->left_step = priv->hs_left_step; out->left_step = priv->hs_left_step;
out->right_step = priv->hs_right_step; out->right_step = priv->hs_right_step;
out->step_delay = 5; /* 5 ms between volume ramp steps */ out->step_delay = 5; /* 5 ms between volume ramp steps */
break; break;
case 4: case 4: /* Handsfree output driver */
out = &priv->handsfree; out = &priv->handsfree;
out->left_step = priv->hf_left_step; out->left_step = priv->hf_left_step;
out->right_step = priv->hf_right_step; out->right_step = priv->hf_right_step;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment