diff options
author | Tony Lindgren <tony@atomide.com> | 2014-08-27 16:28:11 -0700 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2014-09-24 15:18:33 +0530 |
commit | dcc35b2160f32b8528973e91c25595fc91354e92 (patch) | |
tree | 2778b74b5d7b00c0d3dadd80765491e61408e888 /lib/gen_crc32table.c | |
parent | 48f48e172c45e66e5323813fccc7dfd34e404bbe (diff) |
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 <tony@atomide.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'lib/gen_crc32table.c')
0 files changed, 0 insertions, 0 deletions