blob: 8d00fdf0e903ea626f086f2ec8f05a509ccf2451 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
From d53e26567315cab039c8ae67c4f5b807c9a498b1 Mon Sep 17 00:00:00 2001
From: Dom Cobley <popcornmix@gmail.com>
Date: Thu, 15 Jul 2021 20:08:13 +0100
Subject: [PATCH] drm/vc4: Fix typo when getting firmware node
Signed-off-by: Dom Cobley <popcornmix@gmail.com>
---
drivers/gpu/drm/vc4/vc4_drv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/gpu/drm/vc4/vc4_drv.c
+++ b/drivers/gpu/drm/vc4/vc4_drv.c
@@ -321,7 +321,7 @@ static int vc4_drm_bind(struct device *d
node = of_parse_phandle(dev->of_node, "raspberrypi,firmware", 0);
if (node) {
- vc4->firmware = rpi_firmware_get(dev->of_node);
+ vc4->firmware = rpi_firmware_get(node);
of_node_put(node);
if (!vc4->firmware)
|