summaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorMayank Rana <mrana@codeaurora.org>2016-07-06 11:47:29 -0700
committerHemant Kumar <hemantk@codeaurora.org>2016-08-03 16:15:58 -0700
commit18aefc7c0f14a1ba35b057f687b4abefef4110e4 (patch)
tree473a1788f1b4d94b1f038ebde6c566739490a7a7 /include/linux/fpga/fpga-mgr.h
parent541cf8b3a3970d7ec9488be1c672d2bf47a5e814 (diff)
usb: gadget: gsi: Optimize TRB's buffer allocation functionality
TRB's buffer related memory is allocated as part of gsi_bind() for each USB GSI interface if it is part of USB compsition (i.e. USB multi config composition). This memory is never de-allocated (i.e. USB cable disconnect case) until USB composition switch. Also only one USB tethered GSI interface is used out of mult-config based on selection of USB config by USB host. Hence allocate TRB's buffer related memory after set_alt(1) from ipa_work_handler() and de-allocate same from set_alt(0) OR USB composition switch OR USB bus suspend with remote wakeup disable case. Change-Id: I1bdfe16273186b594f83fd03936a461895701996 Signed-off-by: Mayank Rana <mrana@codeaurora.org>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions