]> git.baikalelectronics.ru Git - uboot.git/commit
usb: dwc3: fix NULL pointer issue
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Thu, 14 May 2020 05:55:11 +0000 (13:55 +0800)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Fri, 22 May 2020 13:22:36 +0000 (15:22 +0200)
commit027ab0de051f3e7fe5d61b99a6d88400c3a77d1b
treece67d054dcb49ca6146cf62be96170362bbc905a
parent101699a9b7d688f6d2174a1763355af091de39f7
usb: dwc3: fix NULL pointer issue

The phy_bulk pointer *usb_phys is used before allocated,
fix it by using a phy_bulk variable instead in
xhci_dwc3_platdata struct

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
drivers/usb/host/xhci-dwc3.c