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

Commit 5d8b6492 authored by Mayank Rana's avatar Mayank Rana
Browse files

usb: gadget: qdss: Don't call TXFIFO reset API



TXFIFO resize functionality with QDSS function driver is not required
now. Hence this change removes calling of dwc3_tx_fifo_resize_request()
API which sets flags to consider TXFIFO resize when QDSS based USB
composition is selected.

Change-Id: Ia27b91bfe900b56dc5efda049e3b7ffafd7b9819
Signed-off-by: default avatarMayank Rana <mrana@codeaurora.org>
parent d3bd0080
Loading
Loading
Loading
Loading
+1 −7
Original line number Diff line number Diff line
/*
 * f_qdss.c -- QDSS function Driver
 *
 * Copyright (c) 2012-2014, The Linux Foundation. All rights reserved.
 * Copyright (c) 2012-2015, 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
@@ -441,9 +441,6 @@ static int qdss_bind(struct usb_configuration *c, struct usb_function *f)
		}
	}

	if (gadget_is_dwc3(gadget))
		dwc3_tx_fifo_resize_request(qdss->port.data, true);

	return 0;
fail:
	clear_eps(f);
@@ -461,9 +458,6 @@ static void qdss_unbind(struct usb_configuration *c, struct usb_function *f)

	flush_workqueue(qdss->wq);

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

	clear_eps(f);
	clear_desc(gadget, f);
}