commit | 3282514caba3e106026353cff541f6938ddcbfa9 | [log] [tgz] |
---|---|---|
author | Michael Walle <michael@walle.cc> | Fri Oct 15 15:15:19 2021 +0200 |
committer | Priyanka Jain <priyanka.jain@nxp.com> | Tue Nov 09 17:18:23 2021 +0530 |
tree | 8bfdf4d251cf782faf7feef0be419da92018e0a9 | |
parent | f1f87408943e052d77f979b2aea7ac5eb4951d7f [diff] |
armv8: fsl-layerscape: rework the dwc3 snooping enable code Instead of looking at all USB (host) devices, just search all DWC3 device tree nodes. This will (1) fix a panic if of_match is zero and (2) also apply the fixup if the controller is in peripheral mode. Both happen when the DWC3 USB controller driver is used. Signed-off-by: Michael Walle <michael@walle.cc> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>