diff options
| author | Chris Morgan <[email protected]> | 2026-01-15 17:01:34 -0600 |
|---|---|---|
| committer | Mattijs Korpershoek <[email protected]> | 2026-01-30 08:59:21 +0100 |
| commit | de69f14a0991f3b9afe78dc0721a9184d297e303 (patch) | |
| tree | 6901b7dd919bb4b63204cbcbade059e0e047b19a /doc/develop/python_cq.rst | |
| parent | 7590f29e2cd72fb8ed50efde3cdb786d74dc1f10 (diff) | |
usb: dwc3: gadget: Don't send unintended link state change
DCTL.ULSTCHNGREQ is a write-only field. When doing a read-modify-write
to DCTL, the driver must make sure that there's no unintended link state
change request from whatever is read from DCTL.ULSTCHNGREQ. Set link
state change to no-action when the driver writes to DCTL.
Note that this patch was submitted upstream in Linux in 2020 [1],
and I've confirmed I need it in U-Boot to enable gadget mode.
[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/patch/drivers/usb/dwc3?id=5b738211fb59e114727381d07c647a77c0010996
Signed-off-by: Thinh Nguyen <[email protected]>
Signed-off-by: Chris Morgan <[email protected]>
Reviewed-by: Mattijs Korpershoek <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mattijs Korpershoek <[email protected]>
Diffstat (limited to 'doc/develop/python_cq.rst')
0 files changed, 0 insertions, 0 deletions
