From: Anton Tikhomirov Date: Tue, 26 Nov 2013 02:46:05 +0000 (+0900) Subject: usb: phy: replace spinlock with mutex in OTG FSM X-Git-Tag: v3.14-rc1~148^2~90^2~92 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16e569e9661ea2b964b8abb607a51e5285254021;p=pandora-kernel.git usb: phy: replace spinlock with mutex in OTG FSM OTG Final State Machine calls functions which may sleep. For example, start_gadget callback implementation can use usb_gadget_vbus_connect(), whose context: can sleep. If so, mutex should be used instead of spinlock. Signed-off-by: Anton Tikhomirov Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed