usb: phy: Fix double lock in OTG FSM
authorAnton Tikhomirov <av.tikhomirov@samsung.com>
Fri, 20 Dec 2013 10:06:24 +0000 (19:06 +0900)
committerFelipe Balbi <balbi@ti.com>
Fri, 20 Dec 2013 21:05:49 +0000 (15:05 -0600)
commit16da4b174b08c42076cd3384c420f352c909d467
treebef91cfb6e57362dba1f7d818f6e03a5df0e2c24
parentfa6997d3a58ba9732870a20364bccb501b641ba9
usb: phy: Fix double lock in OTG FSM

Mutex obtained at the beginning of the function should
be released at the end to avoid double locking.

Signed-off-by: Anton Tikhomirov <av.tikhomirov@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/phy/phy-fsm-usb.c