extcon: max77693: Fix inaccurate extcon event for JIG with USB cable
authorJonghwa Lee <jonghwa3.lee@samsung.com>
Mon, 17 Mar 2014 08:44:06 +0000 (17:44 +0900)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 15 May 2014 05:27:47 +0000 (07:27 +0200)
commit29a4db36901237c68ccbd764e1972d94d1a6920d
tree9e3fabc94ad8e2e6079e73e774a56314305d4542
parent8eb07967c117f473ccc837eb428f89985e1f3346
extcon: max77693: Fix inaccurate extcon event for JIG with USB cable

Dmitry's patch 'extcon: max77693: Force using UART~' fixes problem when
device is connected JIG with USB cable. However, with the patch, driver
sends inaccurate event "USB" even muic keeps path to UART not USB. This
would make users confused.

This patch keeps Dmitry's modification working and also bypasses signaling
event "USB" when device is connected to JIG with USB cable.

Change-Id: Ia5f3328e5b0827378178502c70cb90da48e9e3f7
Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
drivers/extcon/extcon-max77693.c