WSL2-Linux-Kernel/drivers/tty/serial
Yi Yang 1c37013734 serial: tegra: handle clk prepare error in tegra_uart_hw_init()
[ Upstream commit 5abd01145d ]

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:22:47 +02:00
..
8250 serial: 8250: Fix oops for port->pm on uart_change_pm() 2023-08-26 14:23:36 +02:00
cpm_uart serial: cpm_uart: Fix build error without CONFIG_SERIAL_CPM_CONSOLE 2022-06-14 18:36:08 +02:00
jsm drivers: serial: jsm: fix some leaks in probe 2022-10-26 12:35:13 +02:00
21285.c
Kconfig
Makefile
altera_jtaguart.c
altera_uart.c serial: altera_uart: fix locking in polling mode 2022-12-31 13:14:28 +01:00
amba-pl010.c serial: pl010: Drop CR register reset on set_termios 2022-01-27 11:04:54 +01:00
amba-pl011.c serial: amba-pl011: fix high priority character transmission in rs486 mode 2023-01-24 07:22:47 +01:00
amba-pl011.h
apbuart.c
apbuart.h
ar933x_uart.c serial: ar933x: Deassert Transmit Enable on ->rs485_config() 2022-11-10 18:15:24 +01:00
arc_uart.c serial: arc_uart: fix of_iomap leak in `arc_serial_probe` 2023-05-24 17:36:50 +01:00
atmel_serial.c serial: atmel: don't enable IRQs prematurely 2023-07-23 13:47:53 +02:00
atmel_serial.h
bcm63xx_uart.c
clps711x.c
digicolor-usart.c serial: digicolor-usart: Don't allow CS5-6 2022-06-14 18:36:08 +02:00
dz.c
dz.h
earlycon-arm-semihost.c
earlycon-riscv-sbi.c
earlycon.c
fsl_linflexuart.c
fsl_lpuart.c tty: serial: fsl_lpuart: Clear the error flags by writing 1 for lpuart32 platforms 2023-08-26 14:23:31 +02:00
icom.c tty: Fix a possible resource leak in icom_probe 2022-06-14 18:36:20 +02:00
icom.h
imx.c tty: serial: imx: fix rs485 rx after tx 2023-07-23 13:47:53 +02:00
imx_earlycon.c
ip22zilog.c
ip22zilog.h
kgdb_nmi.c
kgdboc.c kgdboc: fix return value of __setup handler 2022-04-08 14:23:50 +02:00
lantiq.c serial: lantiq: add missing interrupt ack 2023-06-21 15:59:15 +02:00
liteuart.c serial: liteuart: fix MODULE_ALIAS 2022-01-27 11:03:55 +01:00
lpc32xx_hs.c tty: drivers/tty/, stop using tty_schedule_flip() 2022-07-29 17:25:31 +02:00
max310x.c
max3100.c
mcf.c
men_z135_uart.c
meson_uart.c serial: meson: acquire port->lock in startup() 2022-06-14 18:36:08 +02:00
milbeaut_usio.c
mpc52xx_uart.c
mps2-uart.c
msm_serial.c serial: msm_serial: disable interrupts in __msm_console_write() 2022-06-14 18:36:22 +02:00
mux.c
mvebu-uart.c serial: mvebu-uart: uart2 error bits clearing 2022-08-17 14:22:56 +02:00
mxs-auart.c
omap-serial.c
owl-uart.c tty: serial: owl: Fix missing clk_disable_unprepare() in owl_uart_probe 2022-06-14 18:36:03 +02:00
pch_uart.c tty: pcn_uart: fix memory leak with using debugfs_lookup() 2023-03-11 13:57:37 +01:00
pic32_uart.c
pic32_uart.h
pmac_zilog.c
pmac_zilog.h
pxa.c
qcom_geni_serial.c serial: qcom-geni: fix opp vote on shutdown 2023-09-06 21:28:39 +01:00
rda-uart.c serial: rda-uart: Don't allow CS5-6 2022-06-14 18:36:08 +02:00
rp2.c
sa1100.c drivers: tty: serial: Fix deadlock in sa1100_set_termios() 2022-06-14 18:36:21 +02:00
samsung_tty.c tty: serial: samsung_tty: Fix a memory leak in s3c24xx_serial_getclk() when iterating clk 2023-07-23 13:47:53 +02:00
sb1250-duart.c
sc16is7xx.c serial: sc16is7xx: fix bug when first setting GPIO direction 2023-09-06 21:28:39 +01:00
sccnxp.c
serial-tegra.c serial: tegra: handle clk prepare error in tegra_uart_hw_init() 2023-09-19 12:22:47 +02:00
serial_core.c serial: fixup backport of "serial: Deassert Transmit Enable on probe in driver-specific way" 2023-01-14 10:23:28 +01:00
serial_mctrl_gpio.c
serial_mctrl_gpio.h
serial_txx9.c serial: txx9: Don't allow CS5-6 2022-06-14 18:36:08 +02:00
sh-sci.c tty: serial: sh-sci: Fix Rx on RZ/G2L SCI 2023-04-13 16:48:22 +02:00
sh-sci.h
sifive.c serial: sifive: Fix sifive_serial_console_setup() section 2023-08-03 10:22:41 +02:00
sprd_serial.c serial: sprd: Fix DMA buffer leak issue 2023-09-19 12:22:45 +02:00
st-asc.c serial: st-asc: Sanitize CSIZE and correct PARENB for CS7 2022-06-14 18:36:08 +02:00
stm32-usart.c serial: stm32: Re-assert RTS/DE GPIO in RS485 mode only if more data are transmitted 2023-05-11 23:00:31 +09:00
stm32-usart.h serial: stm32: Use TC interrupt to deassert GPIO RTS in RS485 mode 2022-12-08 11:28:45 +01:00
suncore.c
sunhv.c
sunsab.c serial: sunsab: Fix error handling in sunsab_init() 2022-12-31 13:14:28 +01:00
sunsab.h
sunsu.c
sunzilog.c
sunzilog.h
tegra-tcu.c serial: tegra-tcu: Use uart_xmit_advance(), fixes icount.tx accounting 2022-09-28 11:11:54 +02:00
timbuart.c
timbuart.h
uartlite.c tty: serial: uartlite: allow 64 bit address 2022-01-27 11:03:25 +01:00
ucc_uart.c tty: serial: Fix refcount leak bug in ucc_uart.c 2022-08-25 11:40:40 +02:00
vr41xx_siu.c
vt8500_serial.c
xilinx_uartps.c tty: xilinx_uartps: Fix the ignore_status 2022-10-26 12:35:05 +02:00
zs.c
zs.h