]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfc885fd3da9adce69e60c085b0a06699e0c306cb
tree7aba2e3f7e4ebd68cbd0269be0ae738e039b9a74
parent9f982bb1128a7f4215b5eb0c7b858c42c74a38d9
spi: omap2-mcspi: add runtime PM to set_cs()

Since commit 268e48135e255 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: 268e48135e255 (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