Subject: Re: [PATCH v2 0/3] pwm: rockchip: Eliminate potential race condition when probing

From: Simon South <[email-masked]>
Date: Tue, 22 Dec 2020 11:34:03 -0500

Uwe Kleine-König <[email-masked]> writes:
> While looking through your I found another little problem that you might
> want to address: rockchip_pwm_get_state() calls clk_get_rate(pc->clk).
> According to the documentation (in include/linux/clk.h) this is only
> valid for enabled clocks but there are no precautions that pc->clk is
> enabled.

Sure.

Thanks very much for reviewing all this, Uwe. I'll follow up shortly
with a new patch series.

-- 
Simon South
[email-masked]

_______________________________________________
linux-arm-kernel mailing list
[email-masked]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel