aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorJiada Wang <[email protected]>2015-09-30 04:54:13 +0000
committerMark Brown <[email protected]>2015-09-30 18:10:58 +0000
commit57622aef86d21d459e937c72f578050ff4a91af5 (patch)
tree831d1d498cd81e4b0a966feea0a50274a3c69966 /drivers/fpga/fpga-mgr.c
parentLinux 4.3-rc1 (diff)
downloadkernel-57622aef86d21d459e937c72f578050ff4a91af5.tar.gz
kernel-57622aef86d21d459e937c72f578050ff4a91af5.zip
ASoC: wm8962: balance pm_runtime_enable
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 <[email protected]> Acked-by: Charles Keepax <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions