Commit ba4b2715 authored by Venkat Reddy Talla's avatar Venkat Reddy Talla Committed by Chanwoo Choi

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: default avatarVenkat Reddy Talla <vreddytalla@nvidia.com>
Signed-off-by: default avatarChanwoo Choi <cw00.choi@samsung.com>
parent 29b4817d
...@@ -158,6 +158,7 @@ static int adc_jack_probe(struct platform_device *pdev) ...@@ -158,6 +158,7 @@ static int adc_jack_probe(struct platform_device *pdev)
if (data->wakeup_source) if (data->wakeup_source)
device_init_wakeup(&pdev->dev, 1); device_init_wakeup(&pdev->dev, 1);
adc_jack_handler(&data->handler.work);
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment