Skip to content

Commit

Permalink
clk: ux500: Provide device enumeration number suffix for SMSC911x
Browse files Browse the repository at this point in the history
First Ethernet device has a ".0" appended onto the device name. It
appears that we need this in order to obtain the correct clock.

Without this fix Ethernet does not function on Ux500 devices, which is a
regression.

Cc: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
[mturquette@linaro.org: improved changelog]
  • Loading branch information
Lee Jones authored and Mike Turquette committed May 29, 2013
1 parent e4aa937 commit dd47044
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/clk/ux500/u8500_clk.c
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ void u8500_clk_init(u32 clkrst1_base, u32 clkrst2_base, u32 clkrst3_base,
clk = clk_reg_prcc_pclk("p3_pclk0", "per3clk", clkrst3_base,
BIT(0), 0);
clk_register_clkdev(clk, "fsmc", NULL);
clk_register_clkdev(clk, NULL, "smsc911x");
clk_register_clkdev(clk, NULL, "smsc911x.0");

clk = clk_reg_prcc_pclk("p3_pclk1", "per3clk", clkrst3_base,
BIT(1), 0);
Expand Down

0 comments on commit dd47044

Please sign in to comment.