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)
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>

No differences found