kernel_optimize_test/drivers/usb
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
..
atm
c67x00
cdns3 usb: cdns3: fix NULL pointer dereference on no platform data 2021-03-11 14:17:26 +01:00
chipidea usb: chipidea: ci_hdrc_imx: add missing put_device() call in usbmisc_get_init_data() 2021-01-12 20:18:19 +01:00
class USB: usblp: don't call usb_set_interface if there's a single alt 2021-02-10 09:29:10 +01:00
common
core usb: quirks: add quirk to start video capture on ELMO L-12F document camera reliable 2021-02-26 10:12:59 +01:00
dwc2 usb: dwc2: Make "trimming xfer length" a debug message 2021-03-04 11:37:26 +01:00
dwc3 usb: dwc3: gadget: Fix dep->interval for fullspeed interrupt 2021-03-04 11:38:24 +01:00
early
gadget usb: gadget: u_audio: Free requests only after callback 2021-03-04 11:37:24 +01:00
host xhci: fix bounce buffer usage for non-sg list case 2021-02-10 09:29:17 +01:00
image
isp1760
misc USB: yurex: fix control-URB timeout handling 2021-01-12 20:18:20 +01:00
mon
mtu3
musb usb: musb: Fix runtime PM race in musb_queue_resume_work 2021-03-04 11:38:24 +01:00
phy
renesas_usbhs usb: renesas_usbhs: Clear pipe running flag in usbhs_pkt_pop() 2021-02-10 09:29:10 +01:00
roles
serial USB: serial: mos7720: fix error code in mos7720_write() 2021-03-04 11:38:24 +01:00
storage usb: uas: Add PNY USB Portable SSD to unusual_uas 2021-01-12 20:18:19 +01:00
typec usb: typec: Fix copy paste error for NVIDIA alt-mode description 2021-01-19 18:27:27 +01:00
usbip usb: usbip: vhci_hcd: protect shift size 2021-01-12 20:18:19 +01:00
Kconfig
Makefile
usb-skeleton.c