gpiolib: acpi: support bias pull disable
authorNuno Sá <nuno.sa@analog.com>
Wed, 13 Jul 2022 13:14:20 +0000 (15:14 +0200)
committerBartosz Golaszewski <brgl@bgdev.pl>
Tue, 19 Jul 2022 08:24:10 +0000 (10:24 +0200)
commit6fd03f0248281b690e168a5a5c22cb3c98b96326
tree1a7d877d0433905fd0c681d2c46879ac7a0b8880
parent31bea23119cda87088c6bd4085a1e442c6c5974c
gpiolib: acpi: support bias pull disable

On top of looking at PULL_UP and PULL_DOWN flags, also look at
PULL_DISABLE and set the appropriate GPIO flag. The GPIO core will then
pass down this to controllers that support it.

Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
drivers/gpio/gpiolib-acpi.c