Commit bd508666 authored by Joonyoung Shim's avatar Joonyoung Shim Committed by Inki Dae

drm/exynos: remove unnecessary runtime pm operations

In booting, we can see a below message.

[    3.241728] exynos-mixer 14450000.mixer: Unbalanced pm_runtime_enable!

Already pm_runtime_enable is called by probe function. Remove
pm_runtime_enable/disable from mixer_bind and mixer_unbind.
Signed-off-by: default avatarJoonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
parent 265134a0
...@@ -1262,8 +1262,6 @@ static int mixer_bind(struct device *dev, struct device *manager, void *data) ...@@ -1262,8 +1262,6 @@ static int mixer_bind(struct device *dev, struct device *manager, void *data)
return ret; return ret;
} }
pm_runtime_enable(dev);
return 0; return 0;
} }
...@@ -1272,8 +1270,6 @@ static void mixer_unbind(struct device *dev, struct device *master, void *data) ...@@ -1272,8 +1270,6 @@ static void mixer_unbind(struct device *dev, struct device *master, void *data)
struct mixer_context *ctx = dev_get_drvdata(dev); struct mixer_context *ctx = dev_get_drvdata(dev);
mixer_mgr_remove(&ctx->manager); mixer_mgr_remove(&ctx->manager);
pm_runtime_disable(dev);
} }
static const struct component_ops mixer_component_ops = { static const struct component_ops mixer_component_ops = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment