spi: sh-msiof: Add runtime PM lock in initializing
authorHisashi Nakamura <hisashi.nakamura.ak@renesas.com>
Mon, 15 Dec 2014 14:01:11 +0000 (23:01 +0900)
committerMark Brown <broonie@kernel.org>
Mon, 15 Dec 2014 17:36:45 +0000 (17:36 +0000)
commit015760563ec77bf17cec712fa94afdf53b285287
treef082394ff0b440e2b73f1b59fc179e31d26c60ae
parent0e647037fed5632e7c5989ec359ab84c676888ac
spi: sh-msiof: Add runtime PM lock in initializing

SH-MSIOF driver is enabled autosuspend API of spi framework.
But autosuspend framework doesn't work during initializing.
So runtime PM lock is added in SH-MSIOF driver initializing.

Fixes: e2a0ba547ba31c (spi: sh-msiof: Convert to spi core auto_runtime_pm framework)
Signed-off-by: Hisashi Nakamura <hisashi.nakamura.ak@renesas.com>
Signed-off-by: Yoshihiro Kaneko <ykaneko0929@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
drivers/spi/spi-sh-msiof.c