summaryrefslogtreecommitdiffstats
path: root/drivers/phy/cadence
diff options
context:
space:
mode:
authorMiaoqian Lin <linmq006@gmail.com>2021-12-24 08:21:03 +0000
committerVinod Koul <vkoul@kernel.org>2021-12-27 15:58:03 +0530
commit399c91c3f30531593e5ff6ca7b53f47092128669 (patch)
treec4bf15391296430225a3b605e69dccb27c18eb01 /drivers/phy/cadence
parent898c7a9ec81620125f2463714a0f4dea18ad6e54 (diff)
downloadlinux-stable-399c91c3f30531593e5ff6ca7b53f47092128669.tar.gz
linux-stable-399c91c3f30531593e5ff6ca7b53f47092128669.tar.bz2
linux-stable-399c91c3f30531593e5ff6ca7b53f47092128669.zip
phy: mediatek: Fix missing check in mtk_mipi_tx_probe
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>
Diffstat (limited to 'drivers/phy/cadence')
0 files changed, 0 insertions, 0 deletions