]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: arizona: Disable PM runtime at start of driver removal
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Mon, 2 Jun 2014 08:50:39 +0000 (09:50 +0100)
committerLee Jones <lee.jones@linaro.org>
Wed, 9 Jul 2014 13:58:02 +0000 (14:58 +0100)
commiteacdc9fe760f17e7574a8f69169c0725cf49a763
tree1ab2d58e74caf74b1251bc4efb976a7175d289a2
parentd32da6f343bd0e150aa4bcfedfe14cc029ee1b57
mfd: arizona: Disable PM runtime at start of driver removal

We don't want to trigger any PM runtime operations whilst we are tearing
down the driver, as things the suspend and resume callbacks rely on
might already have been destroyed. So disable PM runtime for the device
as the first step arizona_dev_exit.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/arizona-core.c