spi: omap2-mcspi: add runtime PM to set_cs()
authorSebastian Reichel <sre@kernel.org>
Wed, 22 Jul 2015 18:46:09 +0000 (20:46 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 24 Jul 2015 16:40:40 +0000 (17:40 +0100)
commit5f74db105b1c0980c9863e7a7d1bc0525e0316e8
tree7aba2e3f7e4ebd68cbd0269be0ae738e039b9a74
parentbc0195aad0daa2ad5b0d76cce22b167bc3435590
spi: omap2-mcspi: add runtime PM to set_cs()

Since commit ddcad7e9068eb omap2_mcspi_set_cs() is called without
runtime power management requested.  This patch fixes the problem by
requesting runtime power management in omap2_mcspi_set_cs().

Reported-By: Pali Rohár <pali.rohar@gmail.com>
Fixes: ddcad7e9068eb (spi: omap2-mcspi: Fix native cs with new set_cs)
Tested-By: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Acked-by: Michael Welling <mwelling@ieee.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-omap2-mcspi.c