android_kernel_xiaomi_sm8450/drivers/tty
Yi Yang 0c6c0280f7 serial: tegra: handle clk prepare error in tegra_uart_hw_init()
[ Upstream commit 5abd01145d0cc6cd1b7c2fe6ee0b9ea0fa13671e ]

In tegra_uart_hw_init(), the return value of clk_prepare_enable() should
be checked since it might fail.

Fixes: e9ea096dd2 ("serial: tegra: add serial driver")
Signed-off-by: Yi Yang <yiyang13@huawei.com>
Link: https://lore.kernel.org/r/20230817105406.228674-1-yiyang13@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-09-19 12:20:19 +02:00
..
hvc hvc/xen: lock console list traversal 2023-01-18 11:44:59 +01:00
ipwireless
serdev
serial serial: tegra: handle clk prepare error in tegra_uart_hw_init() 2023-09-19 12:20:19 +02:00
vt vc_screen: reload load of struct vc_data pointer in vcs_write() to avoid UAF 2023-05-30 12:57:55 +01:00
amiserial.c tty: amiserial: fix TIOCSSERIAL permission check 2021-05-14 09:49:55 +02:00
cyclades.c tty: drivers/tty/, stop using tty_schedule_flip() 2022-07-29 17:19:27 +02:00
ehv_bytechan.c
goldfish.c tty: drivers/tty/, stop using tty_schedule_flip() 2022-07-29 17:19:27 +02:00
isicom.c
Kconfig
Makefile
mips_ejtag_fdc.c
moxa.c tty: drivers/tty/, stop using tty_schedule_flip() 2022-07-29 17:19:27 +02:00
moxa.h
mxser.c mxser: fix xmit_buf leak in activate when LSR == 0xff 2022-04-08 14:40:23 +02:00
mxser.h
n_gsm.c tty: n_gsm: fix the UAF caused by race condition in gsm_cleanup_mux 2023-08-26 15:26:50 +02:00
n_hdlc.c tty: clean include/linux/tty.h up 2023-05-17 11:48:09 +02:00
n_null.c
n_r3964.c
n_tracerouter.c
n_tracesink.c
n_tracesink.h
n_tty.c tty: create internal tty.h file 2023-05-17 11:48:08 +02:00
nozomi.c tty: nozomi: Fix the error handling path of 'nozomi_card_init()' 2021-07-14 16:56:39 +02:00
pty.c tty: create internal tty.h file 2023-05-17 11:48:08 +02:00
rocket_int.h
rocket.c
rocket.h
synclink_gt.c tty: synclink_gt: Fix null-pointer-dereference in slgt_clean() 2022-06-14 18:32:41 +02:00
synclink.c
synclinkmp.c
sysrq.c sysrq: do not omit current cpu when showing backtrace of all active CPUs 2022-06-14 18:32:42 +02:00
tty_audit.c tty: audit: move some local functions out of tty.h 2023-05-17 11:48:08 +02:00
tty_baudrate.c tty: clean include/linux/tty.h up 2023-05-17 11:48:09 +02:00
tty_buffer.c tty: move some internal tty lock enums and functions out of tty.h 2023-05-17 11:48:08 +02:00
tty_io.c tty: Prevent writing chars during tcsetattr TCSADRAIN/FLUSH 2023-05-17 11:48:09 +02:00
tty_ioctl.c tty: Prevent writing chars during tcsetattr TCSADRAIN/FLUSH 2023-05-17 11:48:09 +02:00
tty_jobctrl.c tty: create internal tty.h file 2023-05-17 11:48:08 +02:00
tty_ldisc.c tty: create internal tty.h file 2023-05-17 11:48:08 +02:00
tty_ldsem.c
tty_mutex.c tty: move some internal tty lock enums and functions out of tty.h 2023-05-17 11:48:08 +02:00
tty_port.c tty: create internal tty.h file 2023-05-17 11:48:08 +02:00
tty.h tty: Prevent writing chars during tcsetattr TCSADRAIN/FLUSH 2023-05-17 11:48:09 +02:00
ttynull.c
vcc.c