mfd: omap-usb-tll: serialize access to TLL device
authorRoger Quadros <rogerq@ti.com>
Mon, 26 Nov 2012 14:56:26 +0000 (16:56 +0200)
committerRoger Quadros <rogerq@ti.com>
Wed, 13 Feb 2013 11:22:43 +0000 (13:22 +0200)
commit6675144668883a506f0c11db668b582bd5a3161d
tree2d206b4682c321b8e3135ec1e4ab0e7445e5094f
parent7ed8619141198191d09f63fa6f172af361ad280d
mfd: omap-usb-tll: serialize access to TLL device

Get rid of the unnecessary spin_lock_irqsave/restore() as there is
no interrupt handler for this driver. Instead we serialize access
to tll_dev using a global spinlock.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Reviewed-by: Felipe Balbi <balbi@ti.com>
drivers/mfd/omap-usb-tll.c