30 Sep
2015
30 Sep
'15
9:48 a.m.
On Wed, Sep 30, 2015 at 01:54:13PM +0900, Jiada Wang wrote:
pm_runtime_enable is called in probe to enable runtime PM for wm8962 codec, but pm_runtime_disable isn't called in remove callback, nor is called in error path if probe fails after runtime PM is enabled, this causes unbalanced pm_runtime_enable.
This patch Adds pm_runtime_disable in remove callback and error path, to balance pm_runtime_enable.
Signed-off-by: Jiada Wang jiada_wang@mentor.com
Acked-by: Charles Keepax ckeepax@opensource.wolfsonmicro.com
Thanks, Charles