From dcc35b2160f32b8528973e91c25595fc91354e92 Mon Sep 17 00:00:00 2001 From: Tony Lindgren Date: Wed, 27 Aug 2014 16:28:11 -0700 Subject: [PATCH] usb: phy: twl4030-usb: Use mutex instead of spinlock for protecting the data We're using threaded irq on a I2C bus and we're sleeping in twl4030_usb_irq() as it calls twl4030_usb_linkstat() which calls the i2c functions. If we ever need to lock for longer I2C transaction sequences a mutex will allow us to do that easily. Signed-off-by: Tony Lindgren Signed-off-by: Kishon Vijay Abraham I --- Reading git-format-patch failed