diff options
author | Álvaro Fernández Rojas <noltari@gmail.com> | 2021-08-21 10:54:34 +0200 |
---|---|---|
committer | Álvaro Fernández Rojas <noltari@gmail.com> | 2021-08-21 19:07:07 +0200 |
commit | 8299d1f057439f94c6a4412e2e5c5082b82a30c9 (patch) | |
tree | 1bf678d61f11f7394493be464c7876e496f7faed /target/linux/bcm27xx/patches-5.10/950-0693-drm-vc4-remove-unneeded-variable-ret.patch | |
parent | 33b6885975ce376ff075362b7f0890326043111b (diff) | |
download | upstream-8299d1f057439f94c6a4412e2e5c5082b82a30c9.tar.gz upstream-8299d1f057439f94c6a4412e2e5c5082b82a30c9.tar.bz2 upstream-8299d1f057439f94c6a4412e2e5c5082b82a30c9.zip |
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>
Diffstat (limited to 'target/linux/bcm27xx/patches-5.10/950-0693-drm-vc4-remove-unneeded-variable-ret.patch')
-rw-r--r-- | target/linux/bcm27xx/patches-5.10/950-0693-drm-vc4-remove-unneeded-variable-ret.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/target/linux/bcm27xx/patches-5.10/950-0693-drm-vc4-remove-unneeded-variable-ret.patch b/target/linux/bcm27xx/patches-5.10/950-0693-drm-vc4-remove-unneeded-variable-ret.patch new file mode 100644 index 0000000000..be7a81145c --- /dev/null +++ b/target/linux/bcm27xx/patches-5.10/950-0693-drm-vc4-remove-unneeded-variable-ret.patch @@ -0,0 +1,35 @@ +From c0cfa3ce26baee0eb323481244e5a7f7a88db207 Mon Sep 17 00:00:00 2001 +From: Bernard Zhao <bernard@vivo.com> +Date: Tue, 2 Feb 2021 04:23:38 -0800 +Subject: [PATCH] drm/vc4: remove unneeded variable: "ret" + +remove unneeded variable: "ret". + +Signed-off-by: Bernard Zhao <bernard@vivo.com> +Signed-off-by: Maxime Ripard <maxime@cerno.tech> +Link: https://patchwork.freedesktop.org/patch/msgid/20210202122338.15351-1-bernard@vivo.com +(cherry picked from commit f0c5a89e534b43bfef8e7bf7baa5624cd84e1e18) +Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> +--- + drivers/gpu/drm/vc4/vc4_gem.c | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +--- a/drivers/gpu/drm/vc4/vc4_gem.c ++++ b/drivers/gpu/drm/vc4/vc4_gem.c +@@ -1026,7 +1026,6 @@ int vc4_queue_seqno_cb(struct drm_device + void (*func)(struct vc4_seqno_cb *cb)) + { + struct vc4_dev *vc4 = to_vc4_dev(dev); +- int ret = 0; + unsigned long irqflags; + + cb->func = func; +@@ -1041,7 +1040,7 @@ int vc4_queue_seqno_cb(struct drm_device + } + spin_unlock_irqrestore(&vc4->job_lock, irqflags); + +- return ret; ++ return 0; + } + + /* Scheduled when any job has been completed, this walks the list of |