提交 ba4b2715 编写于 作者: V Venkat Reddy Talla 提交者: 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: NVenkat Reddy Talla <vreddytalla@nvidia.com>
Signed-off-by: NChanwoo Choi <cw00.choi@samsung.com>
上级 29b4817d
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册