Revert "usb: dwc3: gadget: Avoid starting DWC3 gadget during UDC unbind"
This reverts commitb83692feb0
which is commit 8217f07a50236779880f13e87f99224cd9117f83 upstream. This is already in the tree as commitbb13ff0598
("BACKPORT: FROMGIT: usb: dwc3: gadget: Avoid starting DWC3 gadget during UDC unbind") in a non-ABI-breaking way, so there's no need to include it in here again when it is not even really doing anything. Bug: 161946584 Bug: 200287549 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: I48b6b159fd00d0635336a556c0e0488571c2c09b
This commit is contained in:
@@ -1044,7 +1044,6 @@ struct dwc3_scratchpad_array {
|
|||||||
* @tx_fifo_resize_max_num: max number of fifos allocated during txfifo resize
|
* @tx_fifo_resize_max_num: max number of fifos allocated during txfifo resize
|
||||||
* @hsphy_interface: "utmi" or "ulpi"
|
* @hsphy_interface: "utmi" or "ulpi"
|
||||||
* @connected: true when we're connected to a host, false otherwise
|
* @connected: true when we're connected to a host, false otherwise
|
||||||
* @softconnect: true when gadget connect is called, false when disconnect runs
|
|
||||||
* @delayed_status: true when gadget driver asks for delayed status
|
* @delayed_status: true when gadget driver asks for delayed status
|
||||||
* @ep0_bounced: true when we used bounce buffer
|
* @ep0_bounced: true when we used bounce buffer
|
||||||
* @ep0_expect_in: true when we expect a DATA IN transfer
|
* @ep0_expect_in: true when we expect a DATA IN transfer
|
||||||
@@ -1265,7 +1264,6 @@ struct dwc3 {
|
|||||||
const char *hsphy_interface;
|
const char *hsphy_interface;
|
||||||
|
|
||||||
unsigned connected:1;
|
unsigned connected:1;
|
||||||
unsigned softconnect:1;
|
|
||||||
unsigned delayed_status:1;
|
unsigned delayed_status:1;
|
||||||
unsigned ep0_bounced:1;
|
unsigned ep0_bounced:1;
|
||||||
unsigned ep0_expect_in:1;
|
unsigned ep0_expect_in:1;
|
||||||
|
Reference in New Issue
Block a user