diff options
author | Alexander Stein <alexander.stein@ew.tq-group.com> | 2023-10-25 11:51:10 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-11-21 15:27:40 +0100 |
commit | 10d510abd096d620b9fda2dd3e0047c5efc4ad2b (patch) | |
tree | 4c5c5bd92827b69807e5c7a7ccaf35af563bd758 /net/ipv4 | |
parent | cdd0cde8d8837de3d234bb08115d5f196e0ac8dd (diff) | |
download | linux-stable-10d510abd096d620b9fda2dd3e0047c5efc4ad2b.tar.gz linux-stable-10d510abd096d620b9fda2dd3e0047c5efc4ad2b.tar.bz2 linux-stable-10d510abd096d620b9fda2dd3e0047c5efc4ad2b.zip |
usb: dwc3: Fix default mode initialization
The default mode, configurable by DT, shall be set before usb role switch
driver is registered. Otherwise there is a race between default mode
and mode set by usb role switch driver.
Fixes: 98ed256a4dbad ("usb: dwc3: Add support for role-switch-default-mode binding")
Cc: stable <stable@kernel.org>
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Acked-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Link: https://lore.kernel.org/r/20231025095110.2405281-1-alexander.stein@ew.tq-group.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions