From: Shengzhou Liu Date: Mon, 2 Sep 2013 05:25:52 +0000 (+0800) Subject: USB: fsl/ehci: fix failure of checking PHY_CLK_VALID during reinitialization X-Git-Tag: v3.12-rc3~1^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eee41b49b80420e3e8c118d18dfacb7da43c1caa;p=pandora-kernel.git USB: fsl/ehci: fix failure of checking PHY_CLK_VALID during reinitialization In case of usb phy reinitialization: e.g. insmod usb-module(usb works well) -> rmmod usb-module -> insmod usb-module It found the PHY_CLK_VALID bit didn't work if it's not with the power-on reset. So we just check PHY_CLK_VALID bit during the stage with POR, this can be met by the tricky of checking FSL_SOC_USB_PRICTRL register. Signed-off-by: Shengzhou Liu Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed