summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVarshit B Pandya <varshit.b.pandya@intel.com>2022-01-17 18:22:56 +0530
committerFelix Held <felix-coreboot@felixheld.de>2022-01-28 15:07:29 +0000
commit5f72179d572cddf7e5d202e3e2e5152fed9afbc3 (patch)
treeb496b8e5a3640b6fdf24632c042a32876916162d /src
parent73b90c68723b3a138f8fce8c431717222fbf5aa2 (diff)
driver/intel/mipi_camera: Increase max power ops count to 6
Current max count for camera power ops is 5 which is not sufficient. If we increase the ops by 1 in current variants the compiler will not throw error for intel mipi camera driver. Hence increase current max count for camera power ops to 6 from 5. BUG=b:214665783 TEST=Build and boot to OS Signed-off-by: Varshit B Pandya <varshit.b.pandya@intel.com> Change-Id: I4f4c090f2275616816dfc697f27520cd1cbc1a80 Reviewed-on: https://review.coreboot.org/c/coreboot/+/61146 Reviewed-by: Subrata Banik <subratabanik@google.com> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/drivers/intel/mipi_camera/chip.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/intel/mipi_camera/chip.h b/src/drivers/intel/mipi_camera/chip.h
index 55e9f33fb1..9d8291e4d5 100644
--- a/src/drivers/intel/mipi_camera/chip.h
+++ b/src/drivers/intel/mipi_camera/chip.h
@@ -12,7 +12,7 @@
#define MAX_LINK_FREQ_ENTRIES 4
#define MAX_CLK_CONFIGS 2
#define MAX_GPIO_CONFIGS 4
-#define MAX_PWR_OPS 5
+#define MAX_PWR_OPS 6
#define MAX_GUARDED_RESOURCES 10
#define IMGCLKOUT_0 0
#define IMGCLKOUT_1 1