On Wed, Oct 20, 2021 at 09:26:43PM +0200, Francesco Dolcini wrote: > During console setup imx_uart_console_setup() enables clocks, but they > are never disabled when the console is unregistered, this leads to > clk_prepare_enable() being called multiple times without a matching > clk_disable_unprepare() in case of console unregister. > > Ensure that clock enable/disable are balanced adding > clk_disable_unprepare() in the console exit callback. > > Signed-off-by: Francesco Dolcini <francesco.dolcini@xxxxxxxxxxx> Acked-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> Thanks Uwe -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | https://www.pengutronix.de/ |
Attachment:
signature.asc
Description: PGP signature