mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
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>
This commit is contained in:
parent
017300da3a
commit
44d6106808
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue