From: Jonas Karlman Date: Sat, 2 Mar 2024 13:09:49 +0000 (+0000) Subject: usb: xhci-dwc3: Fix support for dis_enblslpm_quirk X-Git-Url: http://git.dujemihanovic.xyz/%22http:/www.sics.se/static/%7B%7B%20%24style.Permalink%20%7D%7D?a=commitdiff_plain;h=52378ba4963f5f4ab2786f3d0b4e929cd6cebe22;p=u-boot.git usb: xhci-dwc3: Fix support for dis_enblslpm_quirk No device tree in U-Boot or linux use the wrong spelling used in code. Use correct property name as defined in dwc3 bindings. Fixes: 062790f46131 ("usb: xhci-dwc3: Add USB2 PHY configuration") Signed-off-by: Jonas Karlman Reviewed-by: Marek Vasut --- diff --git a/drivers/usb/host/xhci-dwc3.c b/drivers/usb/host/xhci-dwc3.c index 1dbd65dfaa..6cebe1cc30 100644 --- a/drivers/usb/host/xhci-dwc3.c +++ b/drivers/usb/host/xhci-dwc3.c @@ -197,7 +197,7 @@ static int xhci_dwc3_probe(struct udevice *dev) reg |= DWC3_GUSB2PHYCFG_USBTRDTIM_16BIT; } - if (dev_read_bool(dev, "snps,dis_enblslpm-quirk")) + if (dev_read_bool(dev, "snps,dis_enblslpm_quirk")) reg &= ~DWC3_GUSB2PHYCFG_ENBLSLPM; if (dev_read_bool(dev, "snps,dis-u2-freeclk-exists-quirk"))