]> git.karo-electronics.de Git - linux-beck.git/commitdiff
phy: berlin-usb: fix divider for BG2CD
authorThomas Hebb <tommyhebb@gmail.com>
Thu, 2 Jul 2015 05:04:18 +0000 (01:04 -0400)
committerKishon Vijay Abraham I <kishon@ti.com>
Wed, 15 Jul 2015 14:32:09 +0000 (20:02 +0530)
The marvell,berlin2cd-usb-phy compatible incorrectly sets the PLL
divider to BG2's value instead of BG2CD/BG2Q's. Change it to the right
value.

Signed-off-by: Thomas Hebb <tommyhebb@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/phy-berlin-usb.c

index c6fc95b530835569b040f193f6cf051f7198f7b9..ab54f28644510025f55942bb8b7903b71d2ba98f 100644 (file)
 static const u32 phy_berlin_pll_dividers[] = {
        /* Berlin 2 */
        CLK_REF_DIV(0xc) | FEEDBACK_CLK_DIV(0x54),
-       /* Berlin 2CD */
-       CLK_REF_DIV(0x6) | FEEDBACK_CLK_DIV(0x55),
+       /* Berlin 2CD/Q */
+       CLK_REF_DIV(0xc) | FEEDBACK_CLK_DIV(0x54),
 };
 
 struct phy_berlin_usb_priv {