mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 01:11:14 +00:00
8c405cdccc
The patches were generated from the RPi repo with the following command: git format-patch v6.6.34..rpi-6.1.y Some patches needed rebasing and, as usual, the applied and reverted, wireless drivers, Github workflows, READMEs and defconfigs patches were removed. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
24 lines
860 B
Diff
24 lines
860 B
Diff
From 7c6897c77577ae76c4df45eb317a56636dc73544 Mon Sep 17 00:00:00 2001
|
|
From: Naushir Patuck <naush@raspberrypi.com>
|
|
Date: Thu, 25 Nov 2021 08:59:58 +0000
|
|
Subject: [PATCH 0319/1085] drivers: bcm2835_isp: Fix div by 0 bug.
|
|
|
|
Fix a possible division by 0 bug when setting up the mmal port for the stats
|
|
port.
|
|
|
|
Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
|
|
---
|
|
drivers/staging/vc04_services/bcm2835-isp/bcm2835-isp-fmts.h | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
--- a/drivers/staging/vc04_services/bcm2835-isp/bcm2835-isp-fmts.h
|
|
+++ b/drivers/staging/vc04_services/bcm2835-isp/bcm2835-isp-fmts.h
|
|
@@ -544,6 +544,7 @@ static const struct bcm2835_isp_fmt supp
|
|
.step_size = 2,
|
|
}, {
|
|
.fourcc = V4L2_META_FMT_BCM2835_ISP_STATS,
|
|
+ .depth = 8,
|
|
.mmal_fmt = MMAL_ENCODING_BRCM_STATS,
|
|
/* The rest are not valid fields for stats. */
|
|
}
|