mfd: omap-usb-host: Fix improper mask use.
authorMichael Welling <mwelling@emacinc.com>
Mon, 28 Jul 2014 23:01:04 +0000 (18:01 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Sep 2014 16:03:57 +0000 (09:03 -0700)
commit2c34d0d0fe11694fa617f7fca64d7e7fed59b3ea
tree1f172b02c632b2940ef34db1b881bdd0291e6e02
parenta8fd51944ec90a41b37afe0aee25cf9ec17be8fe
mfd: omap-usb-host: Fix improper mask use.

commit 46de8ff8e80a6546aa3d2fdf58c6776666301a0c upstream.

single-ulpi-bypass is a flag used for older OMAP3 silicon.

The flag when set, can excite code that improperly uses the
OMAP_UHH_HOSTCONFIG_UPLI_BYPASS define to clear the corresponding bit.
Instead it clears all of the other bits disabling all of the ports in
the process.

Signed-off-by: Michael Welling <mwelling@emacinc.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mfd/omap-usb-host.c