linux-stable/drivers/tty
Francesco Dolcini 9768a37cec serial: imx: disable console clocks on unregister
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>
Link: https://lore.kernel.org/r/20211020192643.476895-3-francesco.dolcini@toradex.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-10-21 10:30:08 +02:00
..
hvc xen: branch for v5.15-rc5 2021-10-08 12:55:23 -07:00
ipwireless tty: drop put_tty_driver 2021-07-27 12:17:21 +02:00
serdev TTY / Serial patches for 5.15-rc1 2021-09-01 09:51:16 -07:00
serial serial: imx: disable console clocks on unregister 2021-10-21 10:30:08 +02:00
vt TTY / Serial patches for 5.15-rc1 2021-09-01 09:51:16 -07:00
amiserial.c tty: drop put_tty_driver 2021-07-27 12:17:21 +02:00
ehv_bytechan.c tty: drop put_tty_driver 2021-07-27 12:17:21 +02:00
goldfish.c tty: drop put_tty_driver 2021-07-27 12:17:21 +02:00
Kconfig This pull request contains the following changes for UML: 2021-07-09 10:19:13 -07:00
Makefile
mips_ejtag_fdc.c tty: drop put_tty_driver 2021-07-27 12:17:21 +02:00
moxa.c tty: moxa: merge moxa.h into moxa.c 2021-09-14 11:17:27 +02:00
mxser.c mxser: store FCR state in mxser_port::FCR 2021-10-05 14:08:09 +02:00
n_gsm.c tty: n_gsm: Don't ignore write return value in gsmld_output() 2021-10-05 14:05:59 +02:00
n_hdlc.c tty: remove file from n_tty_ioctl_helper 2021-09-22 16:59:13 +02:00
n_null.c
n_tty.c tty: remove file from n_tty_ioctl_helper 2021-09-22 16:59:13 +02:00
nozomi.c tty: drop put_tty_driver 2021-07-27 12:17:21 +02:00
pty.c tty: pty: correct function name pty_resize() 2021-05-20 16:33:06 +02:00
synclink_gt.c tty: synclink_gt: rename a conflicting function name 2021-09-14 10:51:37 +02:00
sysrq.c tty/sysrq: More intuitive Shift handling 2021-10-10 15:19:43 +02:00
tty.h
tty_audit.c
tty_baudrate.c tty: baudrate: Explicit usage of B0 for encoding input baudrate 2021-10-05 15:00:56 +02:00
tty_buffer.c tty: tty_buffer: Fix the softlockup issue in flush_to_ldisc 2021-10-18 16:53:18 +02:00
tty_io.c tty: Fix data race between tiocsti() and flush_to_ldisc() 2021-08-26 14:51:38 +02:00
tty_ioctl.c tty: remove file from n_tty_ioctl_helper 2021-09-22 16:59:13 +02:00
tty_jobctrl.c tty: tty_jobctrl: Fix 2 incorrectly documented functions 2021-05-20 17:06:15 +02:00
tty_ldisc.c tty: unexport tty_ldisc_release 2021-09-22 16:59:13 +02:00
tty_ldsem.c
tty_mutex.c
tty_port.c tty: tty_port: Fix coding style issues of block comments 2021-05-13 18:29:13 +02:00
ttynull.c tty: drop put_tty_driver 2021-07-27 12:17:21 +02:00
vcc.c tty: drop put_tty_driver 2021-07-27 12:17:21 +02:00