Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1437039 > unrolled thread
| Started by | Venkat Reddy Talla <vreddytalla@nvidia.com> |
|---|---|
| First post | 2016-07-05 16:00 +0200 |
| Last post | 2016-07-06 02:10 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] extcon: adc-jack: update cable state during boot Venkat Reddy Talla <vreddytalla@nvidia.com> - 2016-07-05 16:00 +0200
Re: [PATCH] extcon: adc-jack: update cable state during boot Chanwoo Choi <cw00.choi@samsung.com> - 2016-07-06 02:10 +0200
| From | Venkat Reddy Talla <vreddytalla@nvidia.com> |
|---|---|
| Date | 2016-07-05 16:00 +0200 |
| Subject | [PATCH] extcon: adc-jack: update cable state during boot |
| Message-ID | <rRz3k-3vi-29@gated-at.bofh.it> |
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
[toc] | [next] | [standalone]
| From | Chanwoo Choi <cw00.choi@samsung.com> |
|---|---|
| Date | 2016-07-06 02:10 +0200 |
| Message-ID | <rRIzD-1GV-13@gated-at.bofh.it> |
| In reply to | #1437039 |
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
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web