Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c2158f11 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Revert "usb: gadget: gsi: Decrement USB gadget pm usage count on cable disconnect""

parents 2705efa5 605a3764
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -771,11 +771,6 @@ static void ipa_work_handler(struct work_struct *w)
			d_port->sm_state = STATE_CONNECTED;
			log_event_dbg("%s: ST_INIT_EVT_HOST_READY",
					__func__);
		} else if (event == EVT_DISCONNECTED) {
			usb_gadget_autopm_put_async(d_port->gadget);
			log_event_dbg("%s: ST_INIT_EVT_DISC", __func__);
			log_event_dbg("%s: put_async1 = %d", __func__,
				atomic_read(&gad_dev->power.usage_count));
		}
		break;
	case STATE_CONNECT_IN_PROGRESS: