msm: camera: csiphy: Publish rx clock to other subnodes

Currently we are publishing csiphy timer clock to other submodules who
needs to maintain the clock ratio between the submodules. This change
changes it publish the phy_rx clock as the phy clock rate.

CRs-Fixed: 2975394
Change-Id: I7331d66ebdd1e6ded0d5ac7dd6f47b4c42c2b06f
Signed-off-by: Tony Lijo Jose <tjose@codeaurora.org>
This commit is contained in:
Tony Lijo Jose 2021-06-24 12:26:59 +05:30
commit 84373dc039

View file

@ -205,7 +205,7 @@ int32_t cam_csiphy_enable_hw(struct csiphy_device *csiphy_dev, int32_t index)
rc = cam_soc_util_set_src_clk_rate(soc_info,
soc_info->clk_rate[0][soc_info->src_clk_idx]);
clk_rate = cam_soc_util_get_clk_rate_applied(soc_info,
soc_info->src_clk_idx, true, vote_level);
csiphy_dev->rx_clk_src_idx, true, vote_level);
cam_subdev_notify_message(CAM_TFE_DEVICE_TYPE,
CAM_SUBDEV_MESSAGE_CLOCK_UPDATE,
clk_rate);