]> git.baikalelectronics.ru Git - kernel.git/commit
arm/imx/gpio: add spinlock protection
authorBaruch Siach <baruch@tkos.co.il>
Tue, 6 Jul 2010 11:03:22 +0000 (14:03 +0300)
committerSascha Hauer <s.hauer@pengutronix.de>
Wed, 28 Jul 2010 07:22:51 +0000 (09:22 +0200)
commitfeb707f126aaf6e425663e068b6a6436a5cf5967
tree56f48e64c92f694c75a126a4bac0dee64d8f6b60
parent404fa2805f44f27b71a3d11fe8b878816d00fc83
arm/imx/gpio: add spinlock protection

The GPIO registers need protection from concurrent access for operations that
are not atomic.

Cc: stable@kernel.org
Cc: Juergen Beisert <j.beisert@pengutronix.de>
Cc: Daniel Mack <daniel@caiaq.de>
Reported-by: rpkamiak@rockwellcollins.com
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/plat-mxc/gpio.c
arch/arm/plat-mxc/include/mach/gpio.h