]> git.karo-electronics.de Git - linux-beck.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)
commit14cb0deb66fcfca8fdbef75da8c84b5405a8c767
tree56f48e64c92f694c75a126a4bac0dee64d8f6b60
parentef93f1443c014e0d6dd7a5b1e592a02aa266f001
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