clk: core: Force setting the phase delay when no change
A message that is not in the archive (sent off-list or not yet received): [email protected]
Stephen Boyd
AppliedPATCH 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 unnecessaryset_phaseif 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.Signed-off-by Jean-Francois Moine <[email protected]>---
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