commit | 00fb97e2d7c8f05752699bce9ee1afe39523f949 | [log] [tgz] |
---|---|---|
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | Tue Oct 13 10:13:21 2020 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Dec 30 11:53:58 2020 +0100 |
tree | 37a59240d06829feccd2ac24abe059c514c65770 | |
parent | 91877b1fb0da8d429146702b0959c96a08c62cc5 [diff] |
pwm: zx: Add missing cleanup in error path [ Upstream commit 269effd03f6142df4c74814cfdd5f0b041b30bf9 ] zx_pwm_probe() called clk_prepare_enable() before; this must be undone in the error path. Fixes: 4836193c435c ("pwm: Add ZTE ZX PWM device driver") Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Acked-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Thierry Reding <thierry.reding@gmail.com> Signed-off-by: Sasha Levin <sashal@kernel.org>