Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torvalds/linux.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmelie Delaunay <amelie.delaunay@foss.st.com>2021-10-05 12:53:05 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-10-21 13:49:01 +0300
commit1ad707f559f7cb12c64f3d7cb37f0b1ea27c1058 (patch)
tree2965f905e6f1936d0308ba0d6c8b2202aa8a7275 /drivers/usb/host/max3421-hcd.c
parent8d387f61b0240854e81450c261beb775065bad5d (diff)
usb: dwc2: drd: reset current session before setting the new one
If role is changed without the "none" step, A- and B- valid session could be set at the same time. It is an issue. This patch resets A-session if role switch sets B-session, and resets B-session if role switch sets A-session. Then, it is possible to change the role without the "none" step. Fixes: 17f934024e84 ("usb: dwc2: override PHY input signals with usb role switch support") Acked-by: Minas Harutyunyan <Minas.Harutyunyan@synopsys.com> Signed-off-by: Amelie Delaunay <amelie.delaunay@foss.st.com> Link: https://lore.kernel.org/r/20211005095305.66397-4-amelie.delaunay@foss.st.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/max3421-hcd.c')
0 files changed, 0 insertions, 0 deletions