linux/drivers/usb/cdns3
Roger Quadros 448373d9db
usb: cdns3: fix NULL pointer dereference on no platform data
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: 7cea965775 ("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>
2020-12-10 17:35:33 +08:00
..
cdns3-imx.c usb: cdns3: imx: enable runtime pm by default 2020-12-10 08:45:26 +08: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 2020-12-10 17:35:33 +08:00
core.h usb: cdns3: add quirk for enable runtime pm by default 2020-12-10 08:45:26 +08: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 usb: cdns3: Add static to cdns3_gadget_exit function 2020-12-10 08:45:26 +08:00
gadget.c usb: cdns3: Add static to cdns3_gadget_exit function 2020-12-10 08:45:26 +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 2020-12-10 08:45:26 +08:00
host.c usb: cdns3: fix NULL pointer dereference on no platform data 2020-12-10 17:35:33 +08: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