diff options
author | Venkat Reddy Talla <vreddytalla@nvidia.com> | 2016-07-05 19:26:21 +0530 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2016-08-08 10:58:35 +0900 |
commit | ba4b27151ade5eab3d32a47bf323bfa8c5cd0726 (patch) | |
tree | 5aa55a4525f6f6474efca93f14507933e9c0b776 /drivers/extcon/extcon-adc-jack.c | |
parent | 29b4817d4018df78086157ea3a55c1d9424a7cfc (diff) | |
download | op-kernel-dev-ba4b27151ade5eab3d32a47bf323bfa8c5cd0726.zip op-kernel-dev-ba4b27151ade5eab3d32a47bf323bfa8c5cd0726.tar.gz |
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/extcon-adc-jack.c')
-rw-r--r-- | drivers/extcon/extcon-adc-jack.c | 1 |
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; } |