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

Commit 0f2cfa81 authored by Boris Brezillon's avatar Boris Brezillon
Browse files

drm: atmel-hlcdc: remove useless pm_runtime_put_sync in probe



Remove a useless pm_runtime_put_sync leading to unbalanced
usage_count.

Signed-off-by: default avatarBoris Brezillon <boris.brezillon@free-electrons.com>
Reported-by: default avatarSylvain Rochet <sylvain.rochet@finsecur.com>
parent bd4248bb
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -311,8 +311,6 @@ static int atmel_hlcdc_dc_load(struct drm_device *dev)

	pm_runtime_enable(dev->dev);

	pm_runtime_put_sync(dev->dev);

	ret = atmel_hlcdc_dc_modeset_init(dev);
	if (ret < 0) {
		dev_err(dev->dev, "failed to initialize mode setting\n");