[2/2] usb: dwc3: drop 'quirk' suffix at snps,host-vbus-glitches-quirk

Message ID 20240207-vbus-glitch-v1-2-7be87099461d@nxp.com
State New
Headers
Series usb: dwc3: drop 'quirk' suffix at snps,host-vbus-glitches-quirk |

Commit Message

Frank Li Feb. 7, 2024, 10 p.m. UTC
  Rename 'snps,host-vbus-glitches-quirk' to 'snps,host-vbus-glitches'.
Just describe the problem in the binding. So needn't 'quirk'. Software
implement is workaround, so keep variable name as
'host_vbus_glitches_quirk'.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
 drivers/usb/dwc3/core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c
index 3b68e8e45b8b9..2536b567efd56 100644
--- a/drivers/usb/dwc3/core.c
+++ b/drivers/usb/dwc3/core.c
@@ -1627,7 +1627,7 @@  static void dwc3_get_properties(struct dwc3 *dwc)
 				"snps,dis-split-quirk");
 
 	dwc->host_vbus_glitches_quirk = device_property_read_bool(dev,
-				"snps,host-vbus-glitches-quirk");
+				"snps,host-vbus-glitches");
 
 	dwc->lpm_nyet_threshold = lpm_nyet_threshold;
 	dwc->tx_de_emphasis = tx_de_emphasis;