]> 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)
commit1dab39f67f48b7a1131c55990c2bafdaf22ad1f7
tree1ab2d58e74caf74b1251bc4efb976a7175d289a2
parentcd726b9572c1cd03a568bec65d835c92cffb8f52
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