|
@@ -1030,12 +1030,15 @@ static int cam_cpas_util_apply_client_ahb_vote(struct cam_hw_info *cpas_hw,
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- rc = cam_soc_util_set_clk_rate_level(&cpas_hw->soc_info, highest_level);
|
|
|
- if (rc) {
|
|
|
- CAM_ERR(CAM_CPAS,
|
|
|
- "Failed in scaling clock rate level %d for AHB",
|
|
|
+ if (cpas_core->streamon_clients) {
|
|
|
+ rc = cam_soc_util_set_clk_rate_level(&cpas_hw->soc_info,
|
|
|
highest_level);
|
|
|
- goto unlock_bus_client;
|
|
|
+ if (rc) {
|
|
|
+ CAM_ERR(CAM_CPAS,
|
|
|
+ "Failed in scaling clock rate level %d for AHB",
|
|
|
+ highest_level);
|
|
|
+ goto unlock_bus_client;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
if (applied_level)
|