From: Aaron Lu Date: Tue, 20 May 2014 09:07:38 +0000 (+0800) Subject: gpio / ACPI: use *_cansleep version of gpiod_get/set APIs X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~53^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc62b56a68d3d6dd1044e1f7d0c8310339cb5b5f;p=pandora-kernel.git 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 Acked-by: Mika Westerberg Acked-by: Alexandre Courbot Signed-off-by: Linus Walleij --- Reading git-diff-tree failed