On Wed, Apr 25, 2018 at 06:49:06PM +0200, Stefan Potyra wrote:
> Additionally, prepare/enable the pll_clk before calling clk_get_rate()
> for the same reason.
I don't see this change in the code:
> struct clk *pll_clk = devm_clk_get(dev, "pll");
>
> - if (IS_ERR(pll_c
Enable the clock prior to calling clk_get_rate(), because clk_get_rate()
should only be called if the clock is enabled.
Additionally, prepare/enable the pll_clk before calling clk_get_rate()
for the same reason.
Found by Linux Driver Verification project (linuxtesting.org).
Fixes: 142168eba9dc (
2 matches
Mail list logo