[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110503163542.24853.13121.stgit@bob.linux.org.uk>
Date: Tue, 03 May 2011 17:35:51 +0100
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: greg@...ah.com, linux-kernel@...r.kernel.org
Subject: [PATCH 18/23] intel_sst: intelmid_v2_control: correct jack event type
From: Andy CH Lin <andy_ch_lin@...tron.com>
Correct event type of audio jack while receiving long press event.
Signed-off-by: Andy CH Lin <andy_ch_lin@...tron.com>
Signed-off-by: Jekyll Lai <jekyll_lai@...tron.com>
Signed-off-by: Alan Cox <alan@...ux.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)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists