extcon: int3496: Ignore incorrect IoRestriction for ID pin
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 28 Feb 2018 16:22:08 +0000 (18:22 +0200)
committerChanwoo Choi <cw00.choi@samsung.com>
Wed, 21 Mar 2018 04:58:07 +0000 (13:58 +0900)
commiteca0f13c836a0d29fc2a713330698f08b743e86a
treec0edda6c95d699d365ca8587e6b12cf39496df7a
parentad49aee401dd1997ec71360df6e51a91ad3cf516
extcon: int3496: Ignore incorrect IoRestriction for ID pin

The commit

  70216fd937fe ("extcon: int3496: Set the id pin to direction-input if necessary")

introduced a workaround for incorrect IoRestriction mode in ACPI table.

Now, when GPIO ACPI library does it in generic way, see the commit

  1b2ca32ab0b8 ("gpiolib: acpi: Introduce NO_RESTRICTION quirk")

for the details, just set an appropriate quirk flag instead.

Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Tested-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-intel-int3496.c