X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Fbrcm2708%2Fpatches-4.19%2F950-0148-Increase-firmware-call-buffer-size-to-48-bytes.patch;fp=target%2Flinux%2Fbrcm2708%2Fpatches-4.19%2F950-0148-Increase-firmware-call-buffer-size-to-48-bytes.patch;h=0000000000000000000000000000000000000000;hb=e115fa478fb3914db2f414d642254ff09f04bc09;hp=99e1679cdfa88247c03fe834ec51e6dfc159e0b6;hpb=7604e53d5f593120449cdaf059bfaf66ec07607e;p=openwrt%2Fstaging%2Fchunkeey.git diff --git a/target/linux/brcm2708/patches-4.19/950-0148-Increase-firmware-call-buffer-size-to-48-bytes.patch b/target/linux/brcm2708/patches-4.19/950-0148-Increase-firmware-call-buffer-size-to-48-bytes.patch deleted file mode 100644 index 99e1679cdf..0000000000 --- a/target/linux/brcm2708/patches-4.19/950-0148-Increase-firmware-call-buffer-size-to-48-bytes.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 3118f1a2f29ae802a334963c2aded87d60bddd56 Mon Sep 17 00:00:00 2001 -From: James Hughes -Date: Wed, 31 Oct 2018 13:00:46 +0000 -Subject: [PATCH 148/806] Increase firmware call buffer size to 48 bytes - -An assumption was made in commit a1547e0bc that 32 bytes -would be enough data buffer size for all firmware calls. However, -the axi performance monitor driver uses a call with 44 bytes -(RPI_FIRMWARE_GET_PERIPH_REG) to get the VC registers values. - -Increase value to 48 to take this in to account. - -Signed-off-by: James Hughes ---- - drivers/firmware/raspberrypi.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - ---- a/drivers/firmware/raspberrypi.c -+++ b/drivers/firmware/raspberrypi.c -@@ -22,7 +22,7 @@ - #define MBOX_DATA28(msg) ((msg) & ~0xf) - #define MBOX_CHAN_PROPERTY 8 - --#define MAX_RPI_FW_PROP_BUF_SIZE 32 -+#define MAX_RPI_FW_PROP_BUF_SIZE 48 - - static struct platform_device *rpi_hwmon; -