ARM: imx: fix mx51 ehci setup errors
authorBenoît Thébaudeau <benoit.thebaudeau@advansee.com>
Thu, 28 Jun 2012 14:59:46 +0000 (16:59 +0200)
committerSascha Hauer <s.hauer@pengutronix.de>
Mon, 9 Jul 2012 08:32:44 +0000 (10:32 +0200)
commit0b87c1d4be230d109effe8aef78728160800e67f
treeb07cde880da573e69e3bedecd0de9b0471026273
parent5cfe82c674c77c21274769643c0b92dd7bb4cb05
ARM: imx: fix mx51 ehci setup errors

This patch completes commit 08406f5 by fixing the following issues, according to
the reference manual:
* MXC_OTG_UCTRL_OPM_BIT disables (masks) the power/oc pins if set, like H1PM and
  H2PM, not the opposite.
* MXC_OTG_PHYCTRL_OC_DIS_BIT disables the oc pin if set, like H1_OC_DIS, not the
  opposite.
* Typos in comments.

Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: Arnaud Patard (Rtp) <arnaud.patard@rtp-net.org>
Cc: <linux-arm-kernel@lists.infradead.org>
Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-imx/ehci-imx5.c