diff options
| author | Gregory Herrero <[email protected]> | 2015-12-07 12:07:31 +0100 |
|---|---|---|
| committer | Felipe Balbi <[email protected]> | 2015-12-22 11:50:43 -0600 |
| commit | 3be99cd0e882dd2127b8cfe3942f5e464915aeba (patch) | |
| tree | 2182da09b455a27dc4c78b78127f6e6f73b1ef82 /scripts/stackusage | |
| parent | 0676c7e734e3807f4e91f5d0edcaeed1f5ff412a (diff) | |
usb: dwc2: gadget: don't overwrite DCTL register on NAKEFF interrupts
When receiving GINTSTS_GINNAKEFF or GINTSTS_GOUTNAKEFF interrupt,
DCTL will be overwritten with DCTL_CGOUTNAK or DCTL_CGNPINNAK values.
Instead of overwriting it, write only needed bits.
It could cause an issue if GINTSTS_GINNAKEFF or GINTSTS_GOUTNAKEFF
interrupt is received after dwc2 disabled pullup by writing
DCTL_SFTDISCON bit.
Pullup will then be re-enabled whereas it should not.
Acked-by: John Youn <[email protected]>
Signed-off-by: Gregory Herrero <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions