Hello Simon, On Wed, Dec 23, 2020 at 11:01:04AM -0500, Simon South wrote: > If rockchip_pwm_probe() fails to register a PWM device it calls > clk_unprepare() for the device's PWM clock, without having first disabled > the clock and before jumping to an error handler that also unprepares > it. The "without having first disabled the clock" part is wrong without the first patch. I suggest to swap the order of the first and second patch. Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | https://www.pengutronix.de/ |