clk: Warn on failure to assign rate
authorSean Anderson <seanga2@gmail.com>
Fri, 9 Apr 2021 02:13:03 +0000 (22:13 -0400)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Fri, 14 May 2021 08:20:47 +0000 (16:20 +0800)
commit8c12cb3fd80304d4d542d35405aa54ae4a317e9b
tree2d0187d3a2d261d5ed13dc573b5968725874e04d
parentc0c80e7843b1b97f2efa705eeb22db1ae078ff70
clk: Warn on failure to assign rate

If the user/dev explicitly requests a clock be assigned a certain rate,
then we should warn them if we can't do it. This makes it clear if the
clock is running at the default rate.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
drivers/clk/clk-uclass.c