Commit 5bc38d3
usb: cdnsp: Fixes issue with redundant Status Stage
In some cases, driver trees to send Status Stage twice.
The first one from upper layer of gadget usb subsystem and
second time from controller driver.
This patch fixes this issue and remove tricky handling of
SET_INTERFACE from controller driver which is no longer
needed.
cc: <stable@vger.kernel.org>
Fixes: 3d82904 ("usb: cdnsp: cdns3 Add main part of Cadence USBSSP DRD Driver")
Signed-off-by: Pawel Laszczak <pawell@cadence.com>
Link: https://lore.kernel.org/r/20230307111420.376056-1-pawell@cadence.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent c3aa32a commit 5bc38d3
1 file changed
Lines changed: 1 addition & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
403 | 403 | | |
404 | 404 | | |
405 | 405 | | |
406 | | - | |
407 | | - | |
408 | | - | |
409 | | - | |
410 | | - | |
411 | | - | |
412 | | - | |
413 | | - | |
414 | | - | |
415 | | - | |
416 | | - | |
417 | | - | |
418 | | - | |
419 | | - | |
420 | 406 | | |
421 | 407 | | |
422 | 408 | | |
| |||
474 | 460 | | |
475 | 461 | | |
476 | 462 | | |
477 | | - | |
478 | | - | |
479 | | - | |
480 | 463 | | |
481 | 464 | | |
482 | 465 | | |
483 | 466 | | |
484 | 467 | | |
485 | 468 | | |
486 | 469 | | |
487 | | - | |
| 470 | + | |
488 | 471 | | |
489 | 472 | | |
0 commit comments