msm: camera: isp: Update acquired HW id for SFE2
This change adds sfe hw id 2 as valid hw id, then sfe 2 info can be returned to userspace correctly. CRs-Fixed: 3587713 Change-Id: I01825040837be4e1df204d7fe1c27887af3900e5 Signed-off-by: Depeng Shao <quic_depengs@quicinc.com> (cherry picked from commit 9668c0f7a7963d6a6a43a6bb2352aa5b76201a83)
This commit is contained in:

committed by
Kumar Abhinav

parent
59049792d1
commit
6aa27c964f
@@ -2687,6 +2687,7 @@ static int cam_convert_hw_idx_to_sfe_hw_num(int hw_idx)
|
||||
switch (hw_idx) {
|
||||
case 0: return CAM_ISP_SFE0_HW;
|
||||
case 1: return CAM_ISP_SFE1_HW;
|
||||
case 2: return CAM_ISP_SFE2_HW;
|
||||
}
|
||||
} else {
|
||||
CAM_ERR(CAM_ISP, "SFE hw idx %d out-of-bounds max available %u",
|
||||
|
@@ -152,6 +152,7 @@
|
||||
#define CAM_ISP_IFE2_HW 0x100
|
||||
#define CAM_ISP_SFE0_HW 0x1000
|
||||
#define CAM_ISP_SFE1_HW 0x2000
|
||||
#define CAM_ISP_SFE2_HW 0x4000
|
||||
|
||||
#define CAM_ISP_PXL_PATH 0x1
|
||||
#define CAM_ISP_PPP_PATH 0x2
|
||||
|
Reference in New Issue
Block a user