Skip to content
Snippets Groups Projects
Commit c194bdf2 authored by Seung-Woo Kim's avatar Seung-Woo Kim Committed by Marek Vasut
Browse files

gadget: f_thor: fix hang-up with ctrl-c


After the commit 6aae8476 ("gadget: f_thor: Fix memory leaks of
usb request and its buffer"), there is hang-up with ctrl-c in some
udc. It is because req of out_ep is freed before out_ep is disabled.
Fix hang-up with ctrl-c by disabling ep before free req of the ep.

Signed-off-by: default avatarSeung-Woo Kim <sw0312.kim@samsung.com>
parent b1aad8db
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment