spi/ti-qspi: Fix return from mmap path
authorSourav Poddar <sourav.poddar@ti.com>
Mon, 10 Mar 2014 10:30:42 +0000 (16:00 +0530)
committerMark Brown <broonie@linaro.org>
Mon, 10 Mar 2014 11:10:19 +0000 (11:10 +0000)
commit9304f51e5f3e1365860968bce168d904f3e31bd3
treea53ee5be571a71826b34d1b62e01f081328f1b8f
parent38dbfb59d1175ef458d006556061adeaa8751b72
spi/ti-qspi: Fix return from mmap path

mmap resource requirement is only for memory mapped operations.
If the user does not populate mmap resource, dont call return,
instead we go on for normal spi mode operations.

Signed-off-by: Sourav Poddar <sourav.poddar@ti.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-ti-qspi.c