]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mfd: Make omap-usb-host TLL mode work again
authorAnand Gadiyar <gadiyar@ti.com>
Thu, 18 Aug 2011 10:44:31 +0000 (16:14 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 3 Oct 2011 18:40:27 +0000 (11:40 -0700)
commit e600cffe618ff0da29ae1f8b8d3824ce0e2409fc upstream.

This code section seems to have been accidentally copy pasted.
It causes incorrect bits to be set up in the TLL_CHANNEL_CONF
register and prevents the TLL mode from working correctly.

Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
Cc: Keshava Munegowda <keshava_mgowda@ti.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/mfd/omap-usb-host.c

index 1717144fe7f4f220f6cd79ccea856f39f87ecac3..e67c3d3e38b3bc310b467c9bd3f665a38d6b7951 100644 (file)
@@ -676,7 +676,6 @@ static void usbhs_omap_tll_init(struct device *dev, u8 tll_channel_count)
                                | OMAP_TLL_CHANNEL_CONF_ULPINOBITSTUFF
                                | OMAP_TLL_CHANNEL_CONF_ULPIDDRMODE);
 
-                       reg |= (1 << (i + 1));
                } else
                        continue;