summaryrefslogtreecommitdiff
path: root/drivers/extcon
diff options
context:
space:
mode:
authorVenkat Reddy Talla <vreddytalla@nvidia.com>2016-07-05 13:56:21 (GMT)
committerKishon Vijay Abraham I <kishon@ti.com>2016-09-10 11:18:42 (GMT)
commit44d6106808a841d89dd7c96740917538ea47a29c (patch)
tree29a3e9ec7e5cf9dda557eb6e9104c4694bc63ae1 /drivers/extcon
parent017300da3a4547d85e52c2484fc0bd759e1bbcdb (diff)
downloadlinux-44d6106808a841d89dd7c96740917538ea47a29c.tar.xz
extcon: adc-jack: update cable state during boot
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>
Diffstat (limited to 'drivers/extcon')
-rw-r--r--drivers/extcon/extcon-adc-jack.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/extcon/extcon-adc-jack.c b/drivers/extcon/extcon-adc-jack.c
index 44e48aa..48dec94 100644
--- 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;
}