summaryrefslogtreecommitdiff
path: root/firmware/target/arm/imx31/gigabeat-s/headphone-gigabeat-s.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/imx31/gigabeat-s/headphone-gigabeat-s.c')
-rw-r--r--firmware/target/arm/imx31/gigabeat-s/headphone-gigabeat-s.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/imx31/gigabeat-s/headphone-gigabeat-s.c b/firmware/target/arm/imx31/gigabeat-s/headphone-gigabeat-s.c
index 6e76615308..4e1792d467 100644
--- a/firmware/target/arm/imx31/gigabeat-s/headphone-gigabeat-s.c
+++ b/firmware/target/arm/imx31/gigabeat-s/headphone-gigabeat-s.c
@@ -171,7 +171,7 @@ static void headphone_thread(void)
171 } 171 }
172} 172}
173 173
174/* This is called from the mc13783 interrupt thread */ 174/* HP plugged/unplugged event - called from PMIC ISR */
175void headphone_detect_event(void) 175void headphone_detect_event(void)
176{ 176{
177 /* Trigger the thread immediately. */ 177 /* Trigger the thread immediately. */
@@ -197,5 +197,5 @@ void INIT_ATTR headphone_init(void)
197 197
198 /* Initially poll and then enable PMIC event */ 198 /* Initially poll and then enable PMIC event */
199 headphone_detect_event(); 199 headphone_detect_event();
200 mc13783_enable_event(MC13783_ONOFD2_EVENT); 200 mc13783_enable_event(MC13783_ONOFD2_EVENT, true);
201} 201}