Sriharsha Allenki 940cd6e121
usb: dwc3: gadget: Issue soft reset as part of composition switch
As part of composition switch, the device initiates
disconnect from the host by clearing the run/stop
bit of DCTL and initiates a connect by setting the run/stop bit.
But during this entire scenario the core is not reset
and there is a possibility of core caching the SETUP packets
from the previous session and giving this to the driver once the
run/stop bit is set leading to unintnented SETUP packets further
leading to stall on endpoint 0. This caused the endpoint 0 to
go into a bad state leading to enumeration failures.

Also, the databook clearly mentions that the soft reset has
to be issued before setting the run/stop bit to initialize a
conenct after a disconnect.
So, issue soft reset as part of composition switch to fix this
issue.

Change-Id: Id93bef710e7cdb67a6820cb4c9defecc5ad2a34e
Signed-off-by: Sriharsha Allenki <sallenki@codeaurora.org>
Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
Signed-off-by: Forenche <prahul2003@gmail.com>
Signed-off-by: azrim <mirzaspc@gmail.com>
2022-04-06 13:18:21 +07:00
2022-04-06 13:18:17 +07:00
2022-04-06 13:18:20 +07:00
2021-12-08 09:06:34 +01:00
2022-04-06 13:18:17 +07:00
2022-04-06 13:18:17 +07:00
2022-04-06 13:18:17 +07:00
2022-04-06 13:18:20 +07:00
2022-04-06 13:17:47 +07:00
2022-04-06 13:18:17 +07:00
2022-04-06 13:18:16 +07:00
2020-02-21 06:32:58 -08:00
2020-02-21 06:32:58 -08:00
2022-04-06 13:18:16 +07:00

Linux kernel
============

This file was moved to Documentation/admin-guide/README.rst

Please notice that there are several guides for kernel developers and users.
These guides can be rendered in a number of formats, like HTML and PDF.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.
Description
No description provided
Readme 1.4 GiB
Languages
C 98.1%
Assembly 1.2%
Makefile 0.3%