1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-21 06:58:37 +02:00
openwrt/target/linux/bcm27xx/patches-5.10/950-0333-rpivid_h265-Fix-width-height-typo.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
628 B
Diff

From 283636090484d4047e38a870194c212aeb197ebd Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Mon, 21 Sep 2020 14:02:44 +0100
Subject: [PATCH] rpivid_h265: Fix width/height typo
Signed-off-by: popcornmix <popcornmix@gmail.com>
---
drivers/staging/media/rpivid/rpivid_h265.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/staging/media/rpivid/rpivid_h265.c
+++ b/drivers/staging/media/rpivid/rpivid_h265.c
@@ -2178,7 +2178,7 @@ static int rpivid_h265_start(struct rpiv
if (w > 4096)
w = 4096;
if (h == 0)
- w = 1088;
+ h = 1088;
if (h > 4096)
h = 4096;
wxh = w * h;