Skip to content

Commit

Permalink
drm: atmel-hlcdc: remove useless pm_runtime_put_sync in probe
Browse files Browse the repository at this point in the history
Remove a useless pm_runtime_put_sync leading to unbalanced
usage_count.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Reported-by: Sylvain Rochet <sylvain.rochet@finsecur.com>
  • Loading branch information
Boris Brezillon committed Feb 24, 2015
1 parent bd4248b commit 0f2cfa8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 0f2cfa8

Please sign in to comment.