spi: qup: Handle clocks in pm_runtime suspend and resume
authorPramod Gurav <pramod.gurav@linaro.org>
Mon, 2 May 2016 12:14:03 +0000 (17:44 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 2 May 2016 14:27:28 +0000 (15:27 +0100)
commitdae1a7700b34eceae049cf8f1567a640528ca4c1
treeb03cbe5502dfe7f7e116f6c46e98f8cbc9d6c4bb
parentf55532a0c0b8bb6148f4e07853b876ef73bc69ca
spi: qup: Handle clocks in pm_runtime suspend and resume

Clocks must ne disabled in pm_runtime to achieve some power saving.
Enable the clocks when the device is runtime resumed during a transfer.

Signed-off-by: Pramod Gurav <pramod.gurav@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-qup.c