summaryrefslogtreecommitdiff
path: root/drivers/gpu/host1x/dev.c
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2023-04-21 13:24:18 +0200
committerPeter Zijlstra <peterz@infradead.org>2023-04-21 13:24:18 +0200
commit5a4d3b38ed0cd5bbb03eccea6d9949136abc45c3 (patch)
tree1e653da8837c52ed1d24126974a0d7dbbdf34e02 /drivers/gpu/host1x/dev.c
parent9b8e17813aeccc29c2f9f2e6e68997a6eac2d26d (diff)
parent6a8f57ae2eb07ab39a6f0ccad60c760743051026 (diff)
downloadlwn-5a4d3b38ed0cd5bbb03eccea6d9949136abc45c3.tar.gz
lwn-5a4d3b38ed0cd5bbb03eccea6d9949136abc45c3.zip
Merge branch 'v6.3-rc7'
Sync with the urgent patches; in particular: a53ce18cacb4 ("sched/fair: Sanitize vruntime of entity being migrated") Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Diffstat (limited to 'drivers/gpu/host1x/dev.c')
-rw-r--r--drivers/gpu/host1x/dev.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/gpu/host1x/dev.c b/drivers/gpu/host1x/dev.c
index 4872d183d860..aae2efeef503 100644
--- a/drivers/gpu/host1x/dev.c
+++ b/drivers/gpu/host1x/dev.c
@@ -487,7 +487,6 @@ static int host1x_get_resets(struct host1x *host)
static int host1x_probe(struct platform_device *pdev)
{
struct host1x *host;
- int syncpt_irq;
int err;
host = devm_kzalloc(&pdev->dev, sizeof(*host), GFP_KERNEL);
@@ -517,8 +516,8 @@ static int host1x_probe(struct platform_device *pdev)
}
host->syncpt_irq = platform_get_irq(pdev, 0);
- if (syncpt_irq < 0)
- return syncpt_irq;
+ if (host->syncpt_irq < 0)
+ return host->syncpt_irq;
mutex_init(&host->devices_lock);
INIT_LIST_HEAD(&host->devices);