Skip to content

Commit

Permalink
drm/exynos: remove unnecessary runtime pm operations
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Joonyoung Shim authored and Inki Dae committed Jan 18, 2015
1 parent 265134a commit bd50866
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/gpu/drm/exynos/exynos_mixer.c
Original file line number Diff line number Diff line change
Expand Up @@ -1262,8 +1262,6 @@ static int mixer_bind(struct device *dev, struct device *manager, void *data)
return ret;
}

pm_runtime_enable(dev);

return 0;
}

Expand All @@ -1272,8 +1270,6 @@ static void mixer_unbind(struct device *dev, struct device *master, void *data)
struct mixer_context *ctx = dev_get_drvdata(dev);

mixer_mgr_remove(&ctx->manager);

pm_runtime_disable(dev);
}

static const struct component_ops mixer_component_ops = {
Expand Down

0 comments on commit bd50866

Please sign in to comment.