Skip to contentSkip to conversation

clk: core: Force setting the phase delay when no change

PATCH RESEND New Stephen Boyd 1 participant 1 message Aug 30, 2016 1 message not in the archive Common clk

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Stephen Boyd

author Applied
#1 lore raw

PATCH RESEND 1/1 clk: core: Force setting the phase delay when no change

Quoted 10 lines · Jean-Francois Moine

This patch reverts the commit 023bd7166be0595d18220dfd5c9765b3970f6ef3 (clk: skip unnecessary set_phase if nothing to do), fixing two problems:
- in some SoCs, the hardware phase delay depends on the rate ratio of the clock and its parent. So, changing this ratio may imply to set new hardware values, even if the logical delay is the same.
- when the delay was the same as previously, an error was returned.

---

Applied to clk-next. We can revisit optimizing things later like the original patch attempted, but fixing the second problem is enough to warrant a revert for now.

Signature · 2 lines
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project