usb: gadget: Free UL buffers in gbam_disconnect() for RMNET
On certain devices, the (device) OUT ep are connected sys2bam vs. the IPA. Towards supporting this, buffers are allocated in memory to pass from the USB to the IPA. When gbam_disconnect() is called for the RMNET function, we need to free all the RX buffers used for the UL path in order to avoid a memory leak. Change-Id: Ia9ec11241ca90c62f9e38f4ba29830197a7f69af Signed-off-by:Danny Segal <dsegal@codeaurora.org> Signed-off-by:
Dov Levenglick <dovl@codeaurora.org>
Loading
Please register or sign in to comment