* [PATCH] extcon: adc-jack: update cable state during boot
@ 2016-07-05 13:56 ` Venkat Reddy Talla
2016-07-06 0:06 ` Chanwoo Choi
0 siblings, 1 reply; 2+ messages in thread
From: Venkat Reddy Talla @ 2016-07-05 13:56 UTC (permalink / raw)
To: myungjoo.ham, cw00.choi, linux-kernel; +Cc: ldewangan, vreddytalla
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>
---
drivers/extcon/extcon-adc-jack.c | 1 +
1 file changed, 1 insertion(+)
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;
}
--
2.1.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] extcon: adc-jack: update cable state during boot
2016-07-05 13:56 ` [PATCH] extcon: adc-jack: update cable state during boot Venkat Reddy Talla
@ 2016-07-06 0:06 ` Chanwoo Choi
0 siblings, 0 replies; 2+ messages in thread
From: Chanwoo Choi @ 2016-07-06 0:06 UTC (permalink / raw)
To: Venkat Reddy Talla, myungjoo.ham, linux-kernel; +Cc: ldewangan
Hi Venkat,
On 2016년 07월 05일 22:56, Venkat Reddy Talla wrote:
> 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>
> ---
> drivers/extcon/extcon-adc-jack.c | 1 +
> 1 file changed, 1 insertion(+)
>
> 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;
> }
>
>
Applied it.
Thanks,
Chanwoo Choi
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-07-06 0:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <CGME20160705135643epcas1p33b507256277b3c126049d168a1db3639@epcas1p3.samsung.com>
2016-07-05 13:56 ` [PATCH] extcon: adc-jack: update cable state during boot Venkat Reddy Talla
2016-07-06 0:06 ` Chanwoo Choi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox