[ARM] 5077/1: spi: fix list scan success verification in PXA ssp driver
authorGuennadi Liakhovetski <lg@denx.de>
Thu, 5 Jun 2008 09:43:14 +0000 (10:43 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 11 Jun 2008 22:38:46 +0000 (23:38 +0100)
commita4aff2233786640c10b178ad78d4dd7e375f1955
treeb3cc7f62ec6055b2c5126b41043c4832ede5088d
parent28ffb5d3e0b563be5a9639c3a2b42f1a9430454f
[ARM] 5077/1: spi: fix list scan success verification in PXA ssp driver

The list search success check in arch/arm/mach-pxa/ssp.c is wrong: for
example, it didn't recognise failure for me when I requested port 0.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@pengutronix.de>
Acked-by: Eric Miao <eric.miao@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-pxa/ssp.c