Commit b015f0c6 authored by Vamsi Krishna's avatar Vamsi Krishna
Browse files

usb: gadget: Fix minor issues in usb function drivers



1. Free port if create thread fails
2. Check req->buf before accessing it
3. Change count variable type to match smd_write return type

CRs-Fixed: 342316
Change-Id: I55a268d105eb2066d67fc704d31905eaf29a26a4
Signed-off-by: default avatarVamsi Krishna <vskrishn@codeaurora.org>
parent 9dabf73b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment