lkml.org 
[lkml]   [2016]   [Jul]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] extcon: adc-jack: update cable state during boot
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

\
 
 \ /
  Last update: 2016-07-06 02:41    [W:0.037 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site