diff options
author | Bastien Curutchet <bastien.curutchet@bootlin.com> | 2024-05-28 12:20:24 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-06-04 15:44:11 +0200 |
commit | 6ecd7749c9a2930917d43935e14b7f33e54691a7 (patch) | |
tree | 99dc50edaf3901517d604a8c41491464d0bda37d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ee8e41b5044f637d9f2dc160f9099a308ec65533 (diff) |
Revert "usb: musb: da8xx: Set phy in OTG mode by default"
This reverts commit 7ccf62941a38701ec9a42b4a0fa2868af456e96a.
da8xx_musb_set_mode() forces OTG mode regardless the selected mode even
if the property 'dr_mode = "host"' is present in device-tree. This
causes an unrecoverable error when VBUS supply is shut down : plugged
gadgets are no longer detected once VBUS supply is back.
Reverting it allows to have a selected mode coherent with device-tree's
description. IMO, this shouldn't cause regression because OTG mode is
the default selection when 'dr_mode' property is not set.
Signed-off-by: Bastien Curutchet <bastien.curutchet@bootlin.com>
Link: https://lore.kernel.org/r/20240528102026.40136-3-bastien.curutchet@bootlin.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions