WSL2-Linux-Kernel/drivers/phy
Miaoqian Lin d543ba3a61 phy: mediatek: Fix missing check in mtk_mipi_tx_probe
[ Upstream commit 399c91c3f3 ]

The of_device_get_match_data() function may return NULL.
Add check to prevent potential null dereference.

Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20211224082103.7658-1-linmq006@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-01-27 11:05:05 +01:00
..
allwinner phy: sun4i-usb: remove enable_pmu_unk1 from sun50i_h6_cfg 2020-11-19 11:49:18 +05:30
amlogic phy: amlogic: meson8b-usb2: don't log an error on -EPROBE_DEFER 2021-08-17 16:00:44 +05:30
broadcom phy-for-5.14 version 2 2021-06-23 10:33:34 +02:00
cadence phy: cadence: Sierra: Fix to get correct parent for mux clocks 2022-01-27 11:04:16 +01:00
freescale phy: freescale: convert to devm_platform_ioremap_resource 2020-11-16 12:47:46 +05:30
hisilicon phy: phy-hi3670-usb3: move driver from staging into phy 2021-06-25 10:02:02 +02:00
ingenic phy: ingenic: Fix a typo in ingenic_usb_phy_probe() 2021-03-30 23:35:17 +05:30
intel phy: intel: Fix for warnings due to EMMC clock 175Mhz change in FIP 2021-06-29 16:45:16 +02:00
lantiq phy: lantiq: rcu-usb2: wait after clock enable 2021-01-13 19:29:03 +05:30
marvell phy: marvell: phy-mvebu-a3700-comphy: Remove unsupported modes 2021-08-27 12:20:33 +01:00
mediatek phy: mediatek: Fix missing check in mtk_mipi_tx_probe 2022-01-27 11:05:05 +01:00
microchip phy: Sparx5 Eth SerDes: Fix return value check in sparx5_serdes_probe() 2021-11-18 19:16:56 +01:00
motorola phy-for-5.12 2021-02-09 09:32:35 +01:00
mscc treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
qualcomm phy: qcom-snps: Correct the FSEL_MASK 2021-11-18 19:16:56 +01:00
ralink phy-for-5.14 version 2 2021-06-23 10:33:34 +02:00
renesas phy: renesas: phy-rcar-gen3-usb2: Add USB2.0 PHY support for RZ/G2L 2021-08-06 18:12:30 +05:30
rockchip phy: rockchip-inno-usb2: fix for_each_child.cocci warnings 2021-08-06 16:52:29 +05:30
samsung phy: samsung-ufs: support exynosauto ufs phy driver 2021-07-20 16:43:10 +05:30
socionext phy: uniphier-usb3ss: fix unintended writing zeros to PHY register 2022-01-27 11:04:16 +01:00
st phy/drivers/stm32: use HZ macros 2021-09-08 11:50:26 -07:00
tegra phy: tegra: xusb: mark PM functions as __maybe_unused 2021-07-22 14:41:07 +05:30
ti phy: ti: gmii-sel: check of_get_address() for failure 2021-11-18 19:16:55 +01:00
xilinx phy: xilinx: zynqmp: skip PHY initialization and PLL lock for USB 2021-08-18 15:44:14 +05:30
Kconfig phy: pistachio-usb: Depend on MIPS || COMPILE_TEST 2021-08-12 16:01:49 +02:00
Makefile phy: phy-can-transceiver: Add support for generic CAN transceiver driver 2021-06-14 11:20:17 +05:30
phy-can-transceiver.c phy: phy-can-transceiver: Add support for generic CAN transceiver driver 2021-06-14 11:20:17 +05:30
phy-core-mipi-dphy.c phy: phy-core-mipi-dphy.c: Correct reference version 2021-05-14 17:49:29 +05:30
phy-core.c phy: Allow a NULL phy name for devm_phy_get() 2021-05-14 17:48:41 +05:30
phy-lgm-usb.c phy: Add USB3 PHY support for Intel LGM SoC 2020-09-11 17:12:49 +05:30
phy-lpc18xx-usb-otg.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
phy-pistachio-usb.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 422 2019-06-05 17:37:15 +02:00
phy-xgene.c phy: phy-xgene.c: Fix alignment of comment 2021-05-31 14:08:55 +05:30