Felix Held has submitted this change. ( https://review.coreboot.org/c/coreboot/+/61146 )
Change subject: driver/intel/mipi_camera: Increase max power ops count to 6 ......................................................................
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 --- M src/drivers/intel/mipi_camera/chip.h 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: build bot (Jenkins): Verified Tim Wawrzynczak: Looks good to me, approved Subrata Banik: Looks good to me, approved
diff --git a/src/drivers/intel/mipi_camera/chip.h b/src/drivers/intel/mipi_camera/chip.h index 55e9f33f..9d8291e 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