mirror of
https://github.com/hardkernel/linux.git
synced 2026-04-11 07:28:10 +09:00
There are many factors affecting the clock phase, including clock rate, temperature, logic voltage and silicon process, etc. But clock rate is the most significant one here, and the driver should be aware of the change of the clock rate. As mmc controller need a fixed phase after tuning was completed, at least before explicitly doing re-tune, so this patch try to restore the clock phase by monitoring the event of rate change. Change-Id: Id1ccdfd2e8d4e2eb9f6a1923b3813138dbaf99f7 Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com> (cherry picked from https://patchwork.kernel.org/patch/10269525/)