From: Alexey Khoroshilov Date: Tue, 23 Jul 2013 20:20:17 +0000 (+0400) Subject: usb: gadget: mv_u3d_core: fix violation of locking discipline in mv_u3d_ep_disable() X-Git-Tag: v3.12-rc2~2^2^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2389df458b9e8222ef54fbb6e7023ead84b87a5c;p=pandora-kernel.git usb: gadget: mv_u3d_core: fix violation of locking discipline in mv_u3d_ep_disable() mv_u3d_nuke() expects to be calles with ep->u3d->lock held, because mv_u3d_done() does. But mv_u3d_ep_disable() calls it without lock that can lead to unpleasant consequences. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed