]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit08c5e8005b8ec1f6c18ce2d8e03cc3930cd99fa9
treec0edda6c95d699d365ca8587e6b12cf39496df7a
parent91793f69e73a6bea58d20481ab67f4e41edbb42a
extcon: int3496: Ignore incorrect IoRestriction for ID pin

The commit

  edb2defe0417 ("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

  5575e68347cb ("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