From: Neil Zhang Date: Wed, 12 Oct 2011 08:49:31 +0000 (+0800) Subject: usb: gadget: mv_udc: add missing spinlock in ep enable/disable X-Git-Tag: v3.2-rc1~183^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27cec2b2f7a4d2394af63a3dc7928975f4c072f4;p=pandora-kernel.git usb: gadget: mv_udc: add missing spinlock in ep enable/disable The ep enable / disable functions can be called from interrupt context, and they are not race safe on SMP systems. The critical data can be modified in more than one routing. Make them race safe by using IRQ-safe spinlock functions. Signed-off-by: Neil Zhang Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed