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 <jonas@kwiboo.se>
Reviewed-by: Marek Vasut <marex@denx.de>
This commit is contained in:
Jonas Karlman 2024-03-02 13:09:49 +00:00 committed by Marek Vasut
parent eac52e4be4
commit 52378ba496

View 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"))