[RESEND PATCH] clk: rockchip: Prevent calculating mmc phase if clock rate is zero
Heiko Stübner
heiko at sntech.de
Mon Mar 5 13:08:52 PST 2018
Am Montag, 5. März 2018, 04:25:58 CET schrieb Shawn Lin:
> The MMC sample and drv clock for rockchip platforms are derived from
> the bus clock output to the MMC/SDIO card. So it should never happens
> that the clk rate is zero given it should inherits the clock rate from
> its parent. If something goes wrong and makes the clock rate to be zero,
> the calculation would be wrong but may still make the mmc tuning process
> work luckily. However it makes people harder to debug when the following
> data transfer is unstable.
>
> Signed-off-by: Shawn Lin <shawn.lin at rock-chips.com>
applied for 4.17
Thanks
Heiko
More information about the Linux-rockchip
mailing list