diff options
| author | Joonyoung Shim <jy0922.shim@samsung.com> | 2015-01-18 03:34:15 -0500 |
|---|---|---|
| committer | Inki Dae <inki.dae@samsung.com> | 2015-01-18 03:59:31 -0500 |
| commit | bd508666e58ecf1712f8a132ab435cf0ef2d3d3c (patch) | |
| tree | 40cc087b01ce9c7c6a357eeee74a3577b9d413e5 | |
| parent | 265134a0009e2c5893c0211563daae178066dd06 (diff) | |
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: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
| -rw-r--r-- | drivers/gpu/drm/exynos/exynos_mixer.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_mixer.c b/drivers/gpu/drm/exynos/exynos_mixer.c index 820b76234ef4..71f1688b188c 100644 --- a/drivers/gpu/drm/exynos/exynos_mixer.c +++ b/drivers/gpu/drm/exynos/exynos_mixer.c | |||
| @@ -1262,8 +1262,6 @@ static int mixer_bind(struct device *dev, struct device *manager, void *data) | |||
| 1262 | return ret; | 1262 | return ret; |
| 1263 | } | 1263 | } |
| 1264 | 1264 | ||
| 1265 | pm_runtime_enable(dev); | ||
| 1266 | |||
| 1267 | return 0; | 1265 | return 0; |
| 1268 | } | 1266 | } |
| 1269 | 1267 | ||
| @@ -1272,8 +1270,6 @@ static void mixer_unbind(struct device *dev, struct device *master, void *data) | |||
| 1272 | struct mixer_context *ctx = dev_get_drvdata(dev); | 1270 | struct mixer_context *ctx = dev_get_drvdata(dev); |
| 1273 | 1271 | ||
| 1274 | mixer_mgr_remove(&ctx->manager); | 1272 | mixer_mgr_remove(&ctx->manager); |
| 1275 | |||
| 1276 | pm_runtime_disable(dev); | ||
| 1277 | } | 1273 | } |
| 1278 | 1274 | ||
| 1279 | static const struct component_ops mixer_component_ops = { | 1275 | static const struct component_ops mixer_component_ops = { |
