msm: camera: common: Change the max base type for reg dump
With the newly added register base types for reg dump, the validation needs to be changed to account for the new max. CRs-Fixed: 2841729 Change-Id: I6babe7a1e4d6def51b8e433be4431f04a0a417e8 Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
This commit is contained in:
@@ -2427,7 +2427,7 @@ int cam_soc_util_reg_dump_to_cmd_buf(void *ctx,
|
||||
|
||||
reg_base_type = reg_dump_desc->reg_base_type;
|
||||
if (reg_base_type == 0 || reg_base_type >
|
||||
CAM_REG_DUMP_BASE_TYPE_CAMNOC) {
|
||||
CAM_REG_DUMP_BASE_TYPE_SFE_RIGHT) {
|
||||
CAM_ERR(CAM_UTIL,
|
||||
"Invalid Reg dump base type: %d",
|
||||
reg_base_type);
|
||||
|
Reference in New Issue
Block a user