ehci-mx5: Fix OPM usage
authorBenoît Thébaudeau <benoit.thebaudeau@advansee.com>
Tue, 13 Nov 2012 09:56:44 +0000 (09:56 +0000)
committerStefano Babic <sbabic@denx.de>
Fri, 16 Nov 2012 08:16:44 +0000 (09:16 +0100)
commit394c00dcfc9751030cbd9eb87ab2492d234f9ace
treeff1ee6bc21d13334069a815120425bc96b9c33bf
parent7d42432d38af11f9d05398c3b6d29a54ab3322c8
ehci-mx5: Fix OPM usage

MXC_OTG_UCTRL_OPM_BIT disables (masks) the power/oc pins if set, like
MXC_H1_UCTRL_H1PM_BIT and MXC_H2_UCTRL_H2PM_BIT, not the opposite.

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Cc: Marek Vasut <marex@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
drivers/usb/host/ehci-mx5.c