Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;
}