summaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/core.c
diff options
context:
space:
mode:
authorThinh Nguyen <Thinh.Nguyen@synopsys.com>2020-03-29 16:13:16 -0700
committerFelipe Balbi <balbi@kernel.org>2020-05-05 11:00:13 +0300
commitf7ac582effc6ee416eb51e0c3e55836aaf7231ac (patch)
tree3149155bdb3f3acc401f2cf8adf9a148cdb7d536 /drivers/usb/cdns3/core.c
parent36f05d36b03523da906cf2ae70ec31af6f57e94c (diff)
usb: dwc3: gadget: WARN on no-resource status
If the driver issued START_TRANSFER and received a no-resource status, then generally there are a few reasons for this: 1) The driver did not allocate resource for the endpoint during power-on-reset initialization. 2) The transfer resource was reset. At this moment, we don't do this in the driver, but it occurs when the driver issues START_CONFIG cmd to ep0 with resource index=2. 3) The driver issues the START_TRANSFER command to an already started endpoint. Usually, this is because the END_TRANSFER command hasn't completed yet. Print out a warning to help debug this issue in the driver. Signed-off-by: Thinh Nguyen <thinhn@synopsys.com> Signed-off-by: Felipe Balbi <balbi@kernel.org>
Diffstat (limited to 'drivers/usb/cdns3/core.c')
0 files changed, 0 insertions, 0 deletions