ARM: mach-shmobile: sh7372 USB0/IIC1 MSTP fix
Magnus Damm
maintainerPATCH 1/1 ARM: mach-shmobile: sh7372 USB0/IIC1 MSTP fix
From: Magnus Damm <[email protected]>
Fix a MSTP assignment problem in the sh7372 clock
framework code. The USB drivers should attach to
MSTP322 not MSTP33 where IIC1 is located.
Signed-off-by Magnus Damm <[email protected]>
---
Fortunately it looks like no one is using USB0 on sh7372.
arch/arm/mach-shmobile/clock-sh7372.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/mach-shmobile/clock-sh7372.c +2 -2
@@ -647,8 +647,8 @@ static struct clk_lookup lookups[] = {CLKDEV_DEV_ID ("sh_cmt.10" , &mstp_clks[MSTP329 ]),/* CMT10 */ CLKDEV_DEV_ID ("sh_fsi2" , &mstp_clks[MSTP328 ]),/* FSI2 */ CLKDEV_DEV_ID ("i2c-sh_mobile.1" , &mstp_clks[MSTP323 ]),/* IIC1 */ -CLKDEV_DEV_ID ("r8a66597_hcd.0" , &mstp_clks[MSTP323 ]),/* USB0 */ -CLKDEV_DEV_ID ("r8a66597_udc.0" , &mstp_clks[MSTP323 ]),/* USB0 */ +CLKDEV_DEV_ID ("r8a66597_hcd.0" , &mstp_clks[MSTP322 ]),/* USB0 */ +CLKDEV_DEV_ID ("r8a66597_udc.0" , &mstp_clks[MSTP322 ]),/* USB0 */ CLKDEV_DEV_ID ("sh_mobile_sdhi.0" , &mstp_clks[MSTP314 ]),/* SDHI0 */ CLKDEV_DEV_ID ("sh_mobile_sdhi.1" , &mstp_clks[MSTP313 ]),/* SDHI1 */ CLKDEV_DEV_ID("sh_mmcif.0", &mstp_clks[MSTP312]), /* MMC */
Paul Mundt
AppliedQuoted 3 lines · Magnus Damm
Fix a MSTP assignment problem in the sh7372 clock
framework code. The USB drivers should attach to
MSTP322 not MSTP33 where IIC1 is located.
Applied to rmobile/urgent, thanks.