]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Sep 2015 17:10:50 +0000 (10:10 -0700)
commit28ed737ad8b39b1daf57eced83497820a6ef18d5
tree00f3bb14dec4c77c91544caba47279b47f7935c2
parent321eaa816039f7bdb76be0dd010b5a6175409011
spi: omap2-mcspi: add runtime PM to set_cs()

commit 5f74db105b1c0980c9863e7a7d1bc0525e0316e8 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/spi/spi-omap2-mcspi.c