diff options
author | Roy Luo <royluo@google.com> | 2023-05-04 00:01:29 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-05-13 18:57:30 +0900 |
commit | 2f28c3c9c34742d501b623acf8ebfe3a7faed8a3 (patch) | |
tree | 8253c13411dc11da15f54a54b892cd4c666034bb /drivers/usb/dwc2/platform.c | |
parent | 02be19e914b8ec5b4e355508daf640dde761d300 (diff) |
usb: dwc3: Add error logs for unknown endpoint events
In cases where the controller somehow fails to write to event buffer
memory (e.g. due to incorrect MMU config), the driver would receive
all-zero dwc3 events. However, the abnormal event is silently dropped
as a regular ep0out event.
Add error logs when an unknown endpoint event is received to highlight
the anomaly.
Signed-off-by: Roy Luo <royluo@google.com>
Acked-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Link: https://lore.kernel.org/r/20230504000129.728316-1-royluo@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/dwc2/platform.c')
0 files changed, 0 insertions, 0 deletions