spi: s3c64xx: add missing check for polling mode
authorGirish K S <girishks2000@gmail.com>
Thu, 27 Jun 2013 06:56:53 +0000 (12:26 +0530)
committerMark Brown <broonie@linaro.org>
Mon, 15 Jul 2013 10:43:14 +0000 (11:43 +0100)
commit9f4b323803ff18d87dcc042723b527ee646dddfc
tree66f09582d32acf1062298a971842da36ac8c0fe3
parentad81f0545ef01ea651886dddac4bef6cec930092
spi: s3c64xx: add missing check for polling mode

Due to changes in mainline prior to submission the spi device detection
in polling mode breaks. This revealed the missing check for polling
during dma prepare. This patch adds the missing check.

Signed-off-by: Girish K S <ks.giri@samsung.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-s3c64xx.c