msm: camera_v2: CPP AXI reset at close
Enable AXI/ABH clocks, inorder to perform CPP AXI reset successfully. Change-Id: I68d16825243d63f612709ce414bdaaa19af45bbe Signed-off-by: Venu Raidu <vraidu@codeaurora.org> Signed-off-by: Sumalatha Malothu <smalot@codeaurora.org> Signed-off-by: Shadul Shaikh <sshadu@codeaurora.org>
This commit is contained in:
parent
01c8117a9d
commit
e4250ce4ec
1 changed files with 6 additions and 0 deletions
|
@ -1581,6 +1581,12 @@ static int cpp_close_node(struct v4l2_subdev *sd, struct v4l2_subdev_fh *fh)
|
|||
pr_debug("DEBUG_R1: 0x%x\n",
|
||||
msm_camera_io_r(cpp_dev->cpp_hw_base + 0x8C));
|
||||
|
||||
/* Update bandwidth usage to enable AXI/ABH clock,
|
||||
* which will help to reset CPP AXI.Bandwidth will be
|
||||
* made zero at cpp_release_hardware.
|
||||
*/
|
||||
msm_cpp_update_bandwidth(cpp_dev, 0x1000, 0x1000);
|
||||
|
||||
/* mask IRQ status */
|
||||
msm_camera_io_w(0xB, cpp_dev->cpp_hw_base + 0xC);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue