Re: [PATCH 2/3] serial: imx: unprepare console clocks on remove

2018-11-23 Thread Uwe Kleine-König
On Wed, Nov 14, 2018 at 06:49:39PM +0100, Stefan Agner wrote: > Currently imx_uart_console_setup() prepares clocks which do not > get unprepared anywhere. Check whether the console has been used > by testing if index is set and unprepare clocks in this case. > > This makes sure that clocks are pro

[PATCH 2/3] serial: imx: unprepare console clocks on remove

2018-11-14 Thread Stefan Agner
Currently imx_uart_console_setup() prepares clocks which do not get unprepared anywhere. Check whether the console has been used by testing if index is set and unprepare clocks in this case. This makes sure that clocks are properly unprepared after the console device has been unbound. Signed-off-