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

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

Merge "usb: gadget: u_bam: Add usb auto pm APIs to gbam_disconnect work"

parents 25ab2a9d ddbfc229
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1172,6 +1172,11 @@ static void gbam_disconnect_work(struct work_struct *w)

	msm_bam_dmux_close(d->id);
	clear_bit(BAM_CH_OPENED, &d->flags);
	/*
	 * Decrement usage count which was incremented upon cable connect
	 * or cable disconnect in suspended state
	 */
	usb_gadget_autopm_put_async(port->gadget);
}

static void gbam2bam_disconnect_work(struct work_struct *w)