spi/pl022: fix stop queue procedure
authorGrzegorz Sygieda <grzegorz.sygieda@tieto.com>
Thu, 20 May 2010 22:28:30 +0000 (22:28 +0000)
committerGrant Likely <grant.likely@secretlab.ca>
Tue, 25 May 2010 06:23:14 +0000 (00:23 -0600)
This fix prevents queue being marked as "stopped", if data exists
in the queue list.

Signed-off-by: Grzegorz Sygieda <grzegorz.sygieda@tieto.com>
Signed-off-by: Lukasz Baj <lukasz.baj@tieto.com>
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/amba-pl022.c

Simple merge