projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29b4817
)
extcon: adc-jack: update cable state during boot
author
Venkat Reddy Talla
<vreddytalla@nvidia.com>
Tue, 5 Jul 2016 13:56:21 +0000
(19:26 +0530)
committer
Chanwoo Choi
<cw00.choi@samsung.com>
Mon, 8 Aug 2016 01:58:35 +0000
(10:58 +0900)
Update cable state during boot to avoid any missing
external cable events occurred before driver initialisation.
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-adc-jack.c
patch
|
blob
|
history
diff --git
a/drivers/extcon/extcon-adc-jack.c
b/drivers/extcon/extcon-adc-jack.c
index 44e48aa78a84bbdaf7f925bae5c80f8ffe634680..48dec94b487b500d939e1555946f7e3dcd57f4d0 100644
(file)
--- a/
drivers/extcon/extcon-adc-jack.c
+++ b/
drivers/extcon/extcon-adc-jack.c
@@
-158,6
+158,7
@@
static int adc_jack_probe(struct platform_device *pdev)
if (data->wakeup_source)
device_init_wakeup(&pdev->dev, 1);
+ adc_jack_handler(&data->handler.work);
return 0;
}