usb: host: dwc2: disable hnp and srp default for rockchip platform
Due to rockchip platform use live-tree which deployed from linux kernel, so abandon the previous 'hnp-srp-disable' DT property and disable hnp and srp default at probe time. Change-Id: I5fb34bc789812d463b6a3c42b268af447d130950 Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
This commit is contained in:
parent
d2e45d1f9b
commit
ee0a9610b2
|
|
@ -1263,6 +1263,10 @@ static int dwc2_usb_probe(struct udevice *dev)
|
|||
|
||||
bus_priv->desc_before_addr = true;
|
||||
|
||||
#ifdef CONFIG_ARCH_ROCKCHIP
|
||||
priv->hnp_srp_disable = true;
|
||||
#endif
|
||||
|
||||
return dwc2_init_common(dev, priv);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue