On Mon, Feb 3, 2020 at 1:38 AM Sean Anderson <[email protected]> wrote:
>
> Instead of always using the "clock-frequency" property to determine cpu
> frequency, try using a clock in "clocks" if it exists. This patch also fixes a
> bug where there could be spurious higher frequencies if sizeof(u32) !=
> sizeof(ulong).
>
> Signed-off-by: Sean Anderson <[email protected]>
> ---
>   This patch is the combination of the patches
>   https://patchwork.ozlabs.org/patch/1223933/
>   https://patchwork.ozlabs.org/patch/1224957/
>   "riscv: Fix incorrect cpu frequency on RV64"
>   "riscv: Try to get cpu frequency from device tree"
>
>   Changes for v2:
>   - Renamed err to ret
>  drivers/cpu/riscv_cpu.c | 18 +++++++++++++++++-
>  1 file changed, 17 insertions(+), 1 deletion(-)
>

Reviewed-by: Bin Meng <[email protected]>

Reply via email to