From: Tony Lindgren Date: Wed, 27 Aug 2014 23:28:11 +0000 (-0700) Subject: usb: phy: twl4030-usb: Use mutex instead of spinlock for protecting the data X-Git-Tag: fixes-for-v3.18-merge-window~16^2~19^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dcc35b2160f32b8528973e91c25595fc91354e92;p=pandora-kernel.git 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-diff-tree failed