]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
usb: xhci-dwc3: Fix support for dis_enblslpm_quirk
authorJonas Karlman <jonas@kwiboo.se>
Sat, 2 Mar 2024 13:09:49 +0000 (13:09 +0000)
committerMarek Vasut <marex@denx.de>
Tue, 5 Mar 2024 00:04:21 +0000 (01:04 +0100)
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 <jonas@kwiboo.se>
Reviewed-by: Marek Vasut <marex@denx.de>
drivers/usb/host/xhci-dwc3.c

index 1dbd65dfaa34e5f1d5a31728b66d80c1a3e6ac5c..6cebe1cc30cb6512805f49b324ba0b2aa5b30ce5 100644 (file)
@@ -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"))