msm: camera: csiphy: Add missing base address assignment
Adding base address assignement while reading the status registers in case of PN9 pattern recieve incorrectly. Without this assignment there will be null pointer dereferncing issue. CRs-Fixed: 2991847 Change-Id: I36b21f52e437807efab26a00c961ebbf11f8ded7 Signed-off-by: Jigarkumar Zala <jzala@codeaurora.org>
Este commit está contenido en:
@@ -1333,6 +1333,8 @@ static void __cam_csiphy_read_2phase_bist_debug_status(
|
||||
struct csiphy_reg_t *csiphy_common_reg = NULL;
|
||||
void __iomem *csiphybase = NULL;
|
||||
|
||||
csiphybase = csiphy_dev->soc_info.reg_map[0].mem_base;
|
||||
|
||||
for (i = 0; i < bist_status_arr_size; i++) {
|
||||
csiphy_common_reg = &csiphy_dev->ctrl_reg->csiphy_bist_reg
|
||||
->bist_status_err_check_arr[i];
|
||||
@@ -1406,6 +1408,8 @@ static void __cam_csiphy_read_3phase_bist_debug_status(
|
||||
struct csiphy_reg_t *csiphy_common_reg = NULL;
|
||||
void __iomem *csiphybase = NULL;
|
||||
|
||||
csiphybase = csiphy_dev->soc_info.reg_map[0].mem_base;
|
||||
|
||||
for (i = 0; i < bist_status_arr_size; i++) {
|
||||
csiphy_common_reg = &csiphy_dev->ctrl_reg->csiphy_bist_reg
|
||||
->bist_status_err_check_arr[i];
|
||||
|
Referencia en una nueva incidencia
Block a user