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

Alan Cox
2011-05-03T17:52:54Z

From: Andy CH Lin <andy_ch_lin@wistron.com>

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

Signed-off-by: Andy CH Lin <andy_ch_lin@wistron.com>
Signed-off-by: Jekyll Lai <jekyll_lai@wistron.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
---

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)