spi: pxa2xx: Fix unconditional call of lpss_ssp_setup in pxa2xx_spi_resume
authorJarkko Nikula <jarkko.nikula@linux.intel.com>
Wed, 28 Jan 2015 08:09:42 +0000 (10:09 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 28 Jan 2015 11:24:47 +0000 (11:24 +0000)
commit48421adfe7e9bb0f972ed22eaf0cba215dcc35bb
tree7f6cc11859be8051459750d89af1bb9111774c04
parentc039dd275e88989478abe5f28e4e15648c28ce33
spi: pxa2xx: Fix unconditional call of lpss_ssp_setup in pxa2xx_spi_resume

Commit 7566bcc76b15 ("spi: pxa2xx: Move is_lpss_ssp() tests to caller") did
not check LPSS before calling lpss_ssp_setup() in pxa2xx_spi_resume().

Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-pxa2xx.c