linux_dsm_epyc7002/drivers/usb/cdns3
Roger Quadros 0ff1f97510 usb: cdns3: fix NULL pointer dereference on no platform data
[ Upstream commit 448373d9db1a7000072f65103af19e20503f0c0c ]

Some platforms (e.g. TI) will not have any platform data which will
lead to NULL pointer dereference if we don't check for NULL pdata.

Fixes: 7cea9657756b ("usb: cdns3: add quirk for enable runtime pm by default")
Reported-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Roger Quadros <rogerq@ti.com>
Acked-by: Pawel Laszczak <pawell@cadence.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-03-11 14:17:26 +01:00
..
cdns3-imx.c usb: cdns3: imx: fix can't create core device the second time issue 2021-01-27 11:55:17 +01:00
cdns3-pci-wrap.c usb: cdns3: fix spelling mistake "wrapperr" -> "wrapper" 2020-03-19 15:14:48 +01:00
cdns3-ti.c USB: Replace HTTP links with HTTPS ones 2020-07-21 13:41:57 +02:00
core.c usb: cdns3: fix NULL pointer dereference on no platform data 2021-03-11 14:17:26 +01:00
core.h usb: cdns3: add quirk for enable runtime pm by default 2021-03-11 14:17:25 +01:00
debug.h usb: cdns3: fix spelling mistake and rework grammar in text 2020-01-24 09:41:27 +01:00
drd.c usb: cdns3: drd: call PHY .set_mode accordingly 2020-10-02 09:57:40 +03:00
drd.h usb: cdns3: Enable workaround for USB2.0 PHY Rx compliance test PHY lockup 2020-10-02 09:57:39 +03:00
ep0.c usb: cdns3: Fix on-chip memory overflow issue 2020-10-30 11:40:54 +08:00
gadget-export.h
gadget.c usb: cdns3: gadget: clear trb->length as zero after preparing every trb 2020-11-30 13:48:32 +08:00
gadget.h usb: cdns3: Fix on-chip memory overflow issue 2020-10-30 11:40:54 +08:00
host-export.h usb: cdns3: host: add .suspend_quirk for xhci-plat.c 2021-03-11 14:17:25 +01:00
host.c usb: cdns3: fix NULL pointer dereference on no platform data 2021-03-11 14:17:26 +01:00
Kconfig usb: cdns3: add NXP imx8qm glue layer 2020-01-15 10:39:22 +01:00
Makefile usb: cdns3: add NXP imx8qm glue layer 2020-01-15 10:39:22 +01:00
trace.c
trace.h usb: cdns3: trace: fix some endian issues 2020-07-09 10:13:07 +03:00