aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/host1x
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2017-06-20 10:48:44 +0200
committerIngo Molnar <mingo@kernel.org>2017-06-20 10:48:44 +0200
commit2eb0fc9bfe7485fec16030b85ff586e7aaea2b6f (patch)
treeb804e48f8aba794030f3610199b0f20140e6c6a8 /drivers/gpu/host1x
parentperf/core: Remove unused perf_cgroup_event_cgrp_time() function (diff)
parentLinux 4.12-rc6 (diff)
Merge tag 'v4.12-rc6' into perf/core, to pick up fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/gpu/host1x')
-rw-r--r--drivers/gpu/host1x/dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/host1x/dev.c b/drivers/gpu/host1x/dev.c
index f05ebb14fa63..ac65f52850a6 100644
--- a/drivers/gpu/host1x/dev.c
+++ b/drivers/gpu/host1x/dev.c
@@ -172,7 +172,7 @@ static int host1x_probe(struct platform_device *pdev)
host->rst = devm_reset_control_get(&pdev->dev, "host1x");
if (IS_ERR(host->rst)) {
- err = PTR_ERR(host->clk);
+ err = PTR_ERR(host->rst);
dev_err(&pdev->dev, "failed to get reset: %d\n", err);
return err;
}