mfd: omap-usb-tll: Fix channel count detection
authorRoger Quadros <rogerq@ti.com>
Mon, 26 Nov 2012 10:28:44 +0000 (12:28 +0200)
committerRoger Quadros <rogerq@ti.com>
Wed, 13 Feb 2013 11:22:36 +0000 (13:22 +0200)
commit7e0ff1035cb7efe9c3621c6173a123603ca33857
tree43d3a544505ef40a906374a454170b23829d5cf8
parent9d9c6ae79c5e3452721c5eaebdd793edde9d93df
mfd: omap-usb-tll: Fix channel count detection

Fix channel count detecion for REV2. Also, don't give up
if we don't recognize the IP Revision. We assume the default
number of channels (i.e. 3) for unrecognized IPs.

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