mtd: spi-nor: cadence-quadspi: Add runtime PM support
authorVignesh R <vigneshr@ti.com>
Tue, 3 Oct 2017 05:19:25 +0000 (10:49 +0530)
committerCyrille Pitchen <cyrille.pitchen@wedev4u.fr>
Tue, 17 Oct 2017 18:42:10 +0000 (20:42 +0200)
commit4892b374c9b79729da33bf94612588a6556709be
tree041174638f1ba17e9331ffb78cb82e0b5435b3ad
parent329864d35a7f49bed78bc3302fc56317c325f31f
mtd: spi-nor: cadence-quadspi: Add runtime PM support

Add pm_runtime* calls to cadence-quadspi driver. This is required to
switch on QSPI power domain on TI 66AK2G SoC during probe.

Signed-off-by: Vignesh R <vigneshr@ti.com>
Acked-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Cyrille Pitchen <cyrille.pitchen@wedev4u.fr>
drivers/mtd/spi-nor/cadence-quadspi.c