mirror_ubuntu-kernels/drivers/tty
Yi Yang 38f28cfe9d serial: tegra: Add missing clk_disable_unprepare() in tegra_uart_hw_init()
Add the missing clk_disable_unprepare() before return from
tegra_uart_hw_init() in the error handling path.
When request_irq() fails in tegra_uart_startup(), 'tup->uart_clk'
has been enabled, fix it by adding clk_disable_unprepare().

Fixes: cc9ca4d958 ("serial: tegra: Only print FIFO error message when an error occurs")
Fixes: d781ec21ba ("serial: tegra: report clk rate errors")
Signed-off-by: Yi Yang <yiyang13@huawei.com>
Link: https://lore.kernel.org/r/20221126020852.113378-1-yiyang13@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-01-19 15:54:01 +01:00
..
hvc xen: branch for v6.2-rc4 2023-01-12 17:02:20 -06:00
ipwireless
serdev
serial serial: tegra: Add missing clk_disable_unprepare() in tegra_uart_hw_init() 2023-01-19 15:54:01 +01:00
vt tty: vt: cache row count in con_scroll() 2023-01-19 15:06:42 +01:00
amiserial.c
ehv_bytechan.c
goldfish.c
Kconfig tty: Allow TIOCSTI to be disabled 2022-11-03 01:58:03 +01:00
Makefile
mips_ejtag_fdc.c
moxa.c
mxser.c
n_gsm.c treewide: Convert del_timer*() to timer_shutdown*() 2022-12-25 13:38:09 -08:00
n_hdlc.c
n_null.c
n_tty.c n_tty: Rename tail to old_tail in n_tty_read() 2022-11-22 17:51:34 +01:00
nozomi.c
pty.c
rpmsg_tty.c
synclink_gt.c tty: synclink_gt: unwind actions in error path of net device open 2022-11-22 17:52:57 +01:00
sysrq.c treewide: Convert del_timer*() to timer_shutdown*() 2022-12-25 13:38:09 -08:00
tty_audit.c
tty_baudrate.c
tty_buffer.c tty: Convert tty_buffer flags to bool 2022-11-09 13:02:16 +01:00
tty_io.c tty: fix out-of-bounds access in tty_driver_lookup_tty() 2023-01-19 15:04:56 +01:00
tty_ioctl.c
tty_jobctrl.c
tty_ldisc.c
tty_ldsem.c
tty_mutex.c
tty_port.c
tty.h
ttynull.c
vcc.c