diff options
author | Aaron Lu <aaron.lu@intel.com> | 2014-05-20 11:07:38 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-05-23 14:36:24 +0200 |
commit | dc62b56a68d3d6dd1044e1f7d0c8310339cb5b5f (patch) | |
tree | bfb3aed6c695b9485c089b9411d441b30b2febe1 /drivers/gpio/gpio-grgpio.c | |
parent | gpio: generic: add request function pointer (diff) | |
download | linux-dc62b56a68d3d6dd1044e1f7d0c8310339cb5b5f.tar.xz linux-dc62b56a68d3d6dd1044e1f7d0c8310339cb5b5f.zip |
gpio / ACPI: use *_cansleep version of gpiod_get/set APIs
The GPIO operation region handler should be called where sleep is
allowed, so we should use the *_cansleep version of gpiod_get/set APIs
or we will get a warning message complaining invalid context if the GPIO
chip has the cansleep flag set.
Signed-off-by: Aaron Lu <aaron.lu@intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Acked-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-grgpio.c')
0 files changed, 0 insertions, 0 deletions