Messages in this thread |  | | Date | Thu, 21 Oct 2021 10:39:15 +0200 | From | Uwe Kleine-König <> | Subject | Re: [PATCH v2 2/2] serial: imx: disable console clocks on unregister |
| |
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@toradex.com> Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Thanks Uwe
-- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | https://www.pengutronix.de/ | [unhandled content-type:application/pgp-signature] |  |