commit | 7c7640adacf10f23ec4ad18113fecf9c09130b33 | [log] [tgz] |
---|---|---|
author | Patrice Chotard <patrice.chotard@st.com> | Mon Jun 29 11:19:02 2020 +0200 |
committer | Patrice Chotard <patrice.chotard@st.com> | Thu Aug 13 09:19:18 2020 +0200 |
tree | 777ca423d594be1cabae5cee8e829dbd8b3ce9e3 | |
parent | 2e262c4d264234214dd8effae071205ddf8d2dc0 [diff] |
usb: host: dwc3-sti-glue: Fix ofnode_valid() parameter node varaible is used as iterator into ofnode_for_each_subnode() loop, when exiting of it, node is no more a valid ofnode. Use dwc3_node instead as parameter of ofnode_valid() Fixes: ac28e59a574d ("usb: Migrate to support live DT for some driver") Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Cc: Kever Yang <kever.yang@rock-chips.com>