]> git.baikalelectronics.ru Git - kernel.git/commit
USB: ohci-pxa27x: Allow NOCP and OCPM to be cleared
authorAric Blumer <aric@sdgsystems.com>
Thu, 30 Jul 2009 17:26:58 +0000 (13:26 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 23 Sep 2009 13:46:32 +0000 (06:46 -0700)
commitb1882b27799961dba76bd70c180f8b315d4f9d12
tree16e03c7f2ff0b0e3b1767cac470994f664dfe714
parent83f9217e1bb11693ffeec4bd06e32f24041ad691
USB: ohci-pxa27x: Allow NOCP and OCPM to be cleared

Some ohci-pxa27x platforms may require OCPM and NOCP in UHCRHDA to be
clear, but the existing code was only allowing setting.  This patch
ensures that these bits are clear if the respective flags are not set.
This is particularly important for the PXA3xx family where the
documentation says OCPM must be cleared, but it is set after reset.

Signed-off-by: Aric Blumer <aric@sdgsystems.com>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ohci-pxa27x.c