mfd: omap-usb-tll: introduce and use mode_needs_tll()
authorRoger Quadros <rogerq@ti.com>
Thu, 8 Nov 2012 12:40:45 +0000 (14:40 +0200)
committerRoger Quadros <rogerq@ti.com>
Wed, 13 Feb 2013 11:22:40 +0000 (13:22 +0200)
commit32a51f2a536fd045c472779c13ac09e9e80ac3cc
tree60a4f1cdde1bf6b1c50221be9a4d7c8b28439855
parent0bde3e9fee74b668857b1664a70998d02807fb5b
mfd: omap-usb-tll: introduce and use mode_needs_tll()

This is a handy macro to check if the port requires the
USB TLL module or not. Use it to Enable the TLL module and manage
the clocks.

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