[GIT PULL] extcon fixes for v4.16-rc3

From: Chanwoo Choi
Date: Mon Feb 19 2018 - 05:23:24 EST


Dear Greg,

This is extcon-fixes pull request for v4.16-rc3. I add detailed description of
this pull request on below. Please pull extcon with following updates.

Best Regards,
Chanwoo Choi

The following changes since commit 7928b2cbe55b2a410a0f5c1f154610059c57b1b2:

Linux 4.16-rc1 (2018-02-11 15:04:29 -0800)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/extcon.git tags/extcon-fixes-for-4.16-rc3

for you to fetch changes up to 0434352d3d2e950cf5e743f6062abd87de22f960:

extcon: int3496: process id-pin first so that we start with the right status (2018-02-14 06:37:33 +0900)

----------------------------------------------------------------
Update extcon for v4.16-rc3

This patch fixes issue of X-power extcon-axp288 and Intel extcon-int3496 driver.
- For extcon-int3496 driver,
Process id-pin first so that we start with the right status in order to fix
a race where the initial work might still be running while other drivers
were already calling extcon_get_state().

- For extcon-axp288 driver,
Revert the patch[1] which were applied to v4.16-rc1 because there are better
ways with usb-role-switch and constify the axp288_pwr_up_down_info array.
[1] 60ed99961469a3 ("extcon: axp288: Redo charger type detection a couple of seconds after probe()")

----------------------------------------------------------------
Hans de Goede (3):
extcon: axp288: Constify the axp288_pwr_up_down_info array
Revert "extcon: axp288: Redo charger type detection a couple of seconds after probe()"
extcon: int3496: process id-pin first so that we start with the right status

drivers/extcon/extcon-axp288.c | 36 ++++-------------------------------
drivers/extcon/extcon-intel-int3496.c | 3 ++-
2 files changed, 6 insertions(+), 33 deletions(-)