Skip to content
Commit f3858ce0 authored by Patrice Chotard's avatar Patrice Chotard
Browse files

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: ac28e59a ("usb: Migrate to support live DT for some driver")
Signed-off-by: default avatarPatrice Chotard <patrice.chotard@st.com>
Cc: Kever Yang <kever.yang@rock-chips.com>
parent 554e5514
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment