Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -1262,8 +1262,6 @@ static int mixer_bind(struct device *dev, struct device *manager, void *data)
		return ret;
	}

	pm_runtime_enable(dev);

	return 0;
}

@@ -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 = {