openwrt/target/linux/bcm27xx/patches-5.10/950-0705-drm-vc4-Fix-typo-when-getting-firmware-node.patch
Álvaro Fernández Rojas 8299d1f057 bcm27xx: add kernel 5.10 support
Rebased RPi foundation patches on linux 5.10.59, removed applied and reverted
patches, wireless patches and defconfig patches.

bcm2708: boot tested on RPi B+ v1.2
bcm2709: boot tested on RPi 4B v1.1 4G
bcm2711: boot tested on RPi 4B v1.1 4G

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2021-08-21 19:07:07 +02:00

22 lines
709 B
Diff

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)