powerpc/usb: fix usb CTRL_PHY_CLK_VALID breaks on some platform
authorShengzhou Liu <Shengzhou.Liu@freescale.com>
Sat, 25 Feb 2012 15:56:30 +0000 (23:56 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Feb 2012 18:53:09 +0000 (10:53 -0800)
commit79857e8e7b1ba740f8025b540f1e171c9a0a5d31
tree727dccec14af338eac785214c7e44c16609ea3fe
parent87364624e2dd07c387b13e2ce0fda33448ef4247
powerpc/usb: fix usb CTRL_PHY_CLK_VALID breaks on some platform

Fix checking of CTRL_PHY_CLK_VALID bit break on some platform on which
there is not USB CTRL_PHY_CLK_VALID bit.
  - P1023/P3041/P5020 etc,have this bit
  - P3060/4080/PSC913x do have this bit, but not mentioned in RM.
  - P1022(perhaps and other) has no this bit

Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-fsl.c