]> git.baikalelectronics.ru Git - kernel.git/commit
[ARM] gpio_free might sleep, arm architecture
authorUwe Kleine-König <ukleinek@informatik.uni-freiburg.de>
Wed, 29 Oct 2008 21:14:54 +0000 (14:14 -0700)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 30 Oct 2008 14:41:50 +0000 (14:41 +0000)
commit16cbdd9962266111a1244b8ca506b3bb4a0632fe
treedda2ce4a1a7cd65134328fe4f199bff810ab4ba6
parent236b8b4ca3ff57e05b5100bbac6990094ff77373
[ARM] gpio_free might sleep, arm architecture

According to the documentation gpio_free should only be called from task
context only.  To make this more explicit add a might sleep to all
implementations.

This patch changes the gpio_free implementations for the arm architecture.
 DaVinci is skipped on purpose to simplify the merge process for patches
switching it over to use gpiolib as per request by David Brownell.

Signed-off-by: Uwe Kleine-König <ukleinek@informatik.uni-freiburg.de>
Cc: David Brownell <david-b@pacbell.net>
Cc: Andrew Victor <linux@maxim.org.za>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-at91/include/mach/gpio.h
arch/arm/mach-imx/include/mach/gpio.h
arch/arm/mach-ixp4xx/include/mach/gpio.h
arch/arm/mach-ks8695/include/mach/gpio.h
arch/arm/mach-ns9xxx/gpio.c
arch/arm/mach-orion5x/gpio.c