diff options
author | Michael Walle <michael@walle.cc> | 2021-10-15 15:15:19 +0200 |
---|---|---|
committer | Priyanka Jain <priyanka.jain@nxp.com> | 2021-11-09 17:18:23 +0530 |
commit | f53e102e12c0e1bdda035be1aa5ec59c9787a21a (patch) | |
tree | 8bfdf4d251cf782faf7feef0be419da92018e0a9 /drivers/i2c/i2c-cdns.c | |
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>
Diffstat (limited to 'drivers/i2c/i2c-cdns.c')
0 files changed, 0 insertions, 0 deletions