mx23: register clocks for mmc
Subsystems (3)
PATCH 1/1 mx23: register clocks for mmc
Commit 47babe69 (mxs: dynamically allocate mmc device) added the ssp setup and mmc clocks for mx23/28, but forgot to register the mmc clocks on mx23.
Signed-off-by Peter Korsgaard <[email protected]>
--- arch/arm/mach-mxs/clock-mx23.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
arch/arm/mach-mxs/clock-mx23.c +2 -0
@@ -446,6 +446,8 @@ static struct clk_lookup lookups[] = { _REGISTER_CLOCK("rtc", NULL, rtc_clk) _REGISTER_CLOCK("mxs-dma-apbh", NULL, hbus_clk) _REGISTER_CLOCK("mxs-dma-apbx", NULL, xbus_clk) + _REGISTER_CLOCK("mxs-mmc.0", NULL, ssp_clk) + _REGISTER_CLOCK("mxs-mmc.1", NULL, ssp_clk) _REGISTER_CLOCK(NULL, "usb", usb_clk) _REGISTER_CLOCK(NULL, "audio", audio_clk)_REGISTER_CLOCK ("mxs-pwm.0" ,NULL , pwm_clk)
Signature · 1 line
1.7.2.3
PATCH 1/1 mx23: register clocks for mmc
Quoted 5 lines · Peter Korsgaard
Commit
47babe69(mxs: dynamically allocate mmc device) added the ssp setup and mmc clocks for mx23/28, but forgot to register the mmc clocks on mx23.Signed-off-by Peter Korsgaard <[email protected]>
Acked-by Shawn Guo <[email protected]>
Somehow, this piece of the code got lost in the v4 of that patch.
Signature · 2 lines
Regards, Shawn
Quoted 21 lines
--- arch/arm/mach-mxs/clock-mx23.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)arch/arm/mach-mxs/clock-mx23.c +2
-0@@ -446,6 +446,8 @@ static struct clk_lookup lookups[] = { _REGISTER_CLOCK("rtc", NULL, rtc_clk) _REGISTER_CLOCK("mxs-dma-apbh", NULL, hbus_clk) _REGISTER_CLOCK("mxs-dma-apbx", NULL, xbus_clk) + _REGISTER_CLOCK("mxs-mmc.0", NULL, ssp_clk) + _REGISTER_CLOCK("mxs-mmc.1", NULL, ssp_clk) _REGISTER_CLOCK(NULL, "usb", usb_clk) _REGISTER_CLOCK(NULL, "audio", audio_clk)_REGISTER_CLOCK ("mxs-pwm.0" ,NULL , pwm_clk)Signature · 1 line
1.7.2.3