spi: sirf: Add missing spi_master_{resume,suspend} calls to PM callbacks
authorAxel Lin <axel.lin@ingics.com>
Wed, 5 Mar 2014 07:19:09 +0000 (15:19 +0800)
committerMark Brown <broonie@linaro.org>
Thu, 13 Mar 2014 09:57:29 +0000 (09:57 +0000)
commita82ba3a318dd5eaf1f3dcbc335f81770d557a4fc
tree759360c4adfdf5afa64446969d6942fb1f1e2b20
parenteeb7139524d1851c29b5c02b3dcd6679299a104e
spi: sirf: Add missing spi_master_{resume,suspend} calls to PM callbacks

This is required since commit 2025172e3280 "spi/bitbang: Use core message pump".
spi-bitbang now uses core message pump, so it needs to call spi_master_suspend/
spi_master_resume to stop/start the queue while suspend/resume.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-sirf.c