mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 22:47:56 +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>
31 lines
929 B
Diff
31 lines
929 B
Diff
From d2918d59f2c3fe15bb45f701d8b42b1d7883bf1a Mon Sep 17 00:00:00 2001
|
|
From: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
|
|
Date: Fri, 29 Sep 2023 12:57:23 +0300
|
|
Subject: [PATCH 0649/1085] media: rp1: csi2: Set values for enum csi2_mode
|
|
|
|
Set hardcoded values for enum csi2_mode, as the values will be
|
|
programmed to HW registers.
|
|
|
|
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
|
|
---
|
|
drivers/media/platform/raspberrypi/rp1_cfe/csi2.h | 8 ++++----
|
|
1 file changed, 4 insertions(+), 4 deletions(-)
|
|
|
|
--- a/drivers/media/platform/raspberrypi/rp1_cfe/csi2.h
|
|
+++ b/drivers/media/platform/raspberrypi/rp1_cfe/csi2.h
|
|
@@ -20,10 +20,10 @@
|
|
#define DISCARDS_TABLE_NUM_VCS 4
|
|
|
|
enum csi2_mode {
|
|
- CSI2_MODE_NORMAL,
|
|
- CSI2_MODE_REMAP,
|
|
- CSI2_MODE_COMPRESSED,
|
|
- CSI2_MODE_FE_STREAMING
|
|
+ CSI2_MODE_NORMAL = 0,
|
|
+ CSI2_MODE_REMAP = 1,
|
|
+ CSI2_MODE_COMPRESSED = 2,
|
|
+ CSI2_MODE_FE_STREAMING = 3,
|
|
};
|
|
|
|
enum csi2_compression_mode {
|