diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2019-04-10 17:39:19 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2019-04-23 10:55:17 +0200 |
commit | 24a49543336dbaecb83862a17f6a05d53ec2592f (patch) | |
tree | 17a3123e2063c0bff5f36b60fea4ad9d98e3df70 /drivers/gpio/gpio-eic-sprd.c | |
parent | gpiolib: acpi: Change type of dflags (diff) | |
download | linux-24a49543336dbaecb83862a17f6a05d53ec2592f.tar.xz linux-24a49543336dbaecb83862a17f6a05d53ec2592f.zip |
gpiolib: acpi: Set pin value, based on bias, more accurately
ACPI GpioIo() resource may have different bias settings.
For now, we distinguish only PullUp() setting in order to configure
the initial state of a pin.
Take into consideration the rest of the possible choices as well,
i.e. PullDown, PullNone and PullDefault, when configuring the initial state
of the pin.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-eic-sprd.c')
0 files changed, 0 insertions, 0 deletions