[ARM] 3479/1: Corgi SSP: Fix potential concurrent access problem
authorRichard Purdie <rpurdie@rpsys.net>
Tue, 18 Apr 2006 22:18:54 +0000 (23:18 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 18 Apr 2006 22:18:54 +0000 (23:18 +0100)
commit608c783aaa0abe39e3672f65b786cdade8db6df9
tree63c2ef227582cc4506b4d965ba306d62ea919c9a
parent7ea3bbbc8997df1ae7dc4e736d163dabc00f4721
[ARM] 3479/1: Corgi SSP: Fix potential concurrent access problem

Patch from Richard Purdie

corgi_ssp_probe() should not access GPDR directly but should use
pxa_gpio_mode() which has appropriate locking and other safeguards.

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-pxa/corgi_ssp.c