summaryrefslogtreecommitdiff
path: root/drivers/usb/chipidea
diff options
context:
space:
mode:
authorRoger Quadros <rogerq@ti.com>2020-11-23 13:49:31 +0300
committerPeter Chen <peter.chen@nxp.com>2020-12-10 12:35:33 +0300
commit448373d9db1a7000072f65103af19e20503f0c0c (patch)
treed9425607d95850f22d056d262ab41b537f60502e /drivers/usb/chipidea
parent429ad75f2b13ac8a2c7af859f8f61b9188bca7ba (diff)
downloadlinux-448373d9db1a7000072f65103af19e20503f0c0c.tar.xz
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: 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>
Diffstat (limited to 'drivers/usb/chipidea')
0 files changed, 0 insertions, 0 deletions