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

Commit 0fe5d90f 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: qdss: Flush pending works before function unbind"

parents fcf2030e f747a075
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
/*
 * f_qdss.c -- QDSS function Driver
 *
 * Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
 * Copyright (c) 2012-2014, The Linux Foundation. All rights reserved.

 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -415,6 +415,8 @@ static void qdss_unbind(struct usb_configuration *c, struct usb_function *f)

	pr_debug("qdss_unbind\n");

	flush_workqueue(qdss->wq);

	if (gadget_is_dwc3(gadget))
		dwc3_tx_fifo_resize_request(qdss->data, false);