[PATCH 18/23] intel_sst: intelmid_v2_control: correct jack event type

From: Alan Cox
Date: Tue May 03 2011 - 13:54:44 EST


From: Andy CH Lin <andy_ch_lin@xxxxxxxxxxx>

Correct event type of audio jack while receiving long press event.

Signed-off-by: Andy CH Lin <andy_ch_lin@xxxxxxxxxxx>
Signed-off-by: Jekyll Lai <jekyll_lai@xxxxxxxxxxx>
Signed-off-by: Alan Cox <alan@xxxxxxxxxxxxxxx>
---

drivers/staging/intel_sst/intelmid_v2_control.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/drivers/staging/intel_sst/intelmid_v2_control.c b/drivers/staging/intel_sst/intelmid_v2_control.c
index 6f4caa5..547b8b1 100644
--- a/drivers/staging/intel_sst/intelmid_v2_control.c
+++ b/drivers/staging/intel_sst/intelmid_v2_control.c
@@ -1054,7 +1054,7 @@ static void nc_pmic_irq_cb(void *cb_data, u8 intsts)
present = 1;
jack_event_flag = 1;
buttonpressflag = 1;
- mjack->jack.type = MID_JACK_HS_SHORT_PRESS;
+ mjack->jack.type = MID_JACK_HS_LONG_PRESS;
}

if (jack_event_flag)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/