UPSTREAM: usb: typec: Find the ports by also matching against the device node
When the connections are defined in firmware, struct device_connection will have the fwnode member pointing to the device node (struct fwnode_handle) of the requested device, and the endpoint will not be used at all in that case. Bug: 150877929 Acked-by:Hans de Goede <hdegoede@redhat.com> Reviewed-by:
Andy Shevchenko <andy.shevchenko@gmail.com> Reviewed-by:
Jun Li <jun.li@nxp.com> Signed-off-by:
Heikki Krogerus <heikki.krogerus@linux.intel.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Change-Id: Ie6e233c158bae77cf1f332c45957248e4521c7f8 Signed-off-by:
Will McVicker <willmcvicker@google.com> (cherry picked from commit 6a0bbcf96b2273f110a14d11a5952527c5921191)
Loading
Please register or sign in to comment