commit | f53e102e12c0e1bdda035be1aa5ec59c9787a21a | [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 | bce039acf2661b1484aeee3704100b645a3d2198 [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>