clk: spear600: Fix adc clock device name
Subsystems (2)
PATCH 1/1 clk: spear600: Fix adc clock device name
The device name for the adc clock is incorrect. This results in the IIO ADC driver to fail while probing for the clock. This patch fixes the name and the ADC driver is now started correctly.
Signed-off-by Stefan Roese <[email protected]>
Cc Viresh Kumar <[email protected]>
Cc Mike Turquette <[email protected]>
Cc spear-devel at list.st.com
--- drivers/clk/spear/spear6xx_clock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/clk/spear/spear6xx_clock.c +1 -1
@@ -316,7 +316,7 @@ void __init spear6xx_clk_init(void __iomem *misc_base)/* clock derived from apb clk */ clk =clk_register_gate (NULL ,"adc_clk" ,"apb_clk" ,0 ,PERIP1_CLK_ENB ,ADC_CLK_ENB ,0 , &_lock); -clk_register_clkdev (clk,NULL ,"adc" ); +clk_register_clkdev (clk,NULL ,"d8200000.adc" ); clk =clk_register_fixed_factor (NULL ,"gpio0_clk" ,"apb_clk" ,0 ,1 ,1 );clk_register_clkdev (clk,NULL ,"f0100000.gpio" );
Signature · 1 line
2.3.3
Michael Turquette
AppliedPATCH 1/1 clk: spear600: Fix adc clock device name
Quoting Stefan Roese (2015-03-19 06:34:03)
Quoted 8 lines
The device name for the adc clock is incorrect. This results in the IIO ADC driver to fail while probing for the clock. This patch fixes the name and the ADC driver is now started correctly.
Signed-off-by Stefan Roese <[email protected]>Cc Viresh Kumar <[email protected]>Cc Mike Turquette <[email protected]>Cc spear-devel at list.st.com
Applied to clk-next.
Thanks,
Mike
Quoted 20 lines
--- drivers/clk/spear/spear6xx_clock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/clk/spear/spear6xx_clock.c +1
-1@@ -316,7 +316,7 @@ void __init spear6xx_clk_init(void __iomem *misc_base)/* clock derived from apb clk */ clk =clk_register_gate (NULL ,"adc_clk" ,"apb_clk" ,0 ,PERIP1_CLK_ENB ,ADC_CLK_ENB ,0 , &_lock); -clk_register_clkdev (clk,NULL ,"adc" ); +clk_register_clkdev (clk,NULL ,"d8200000.adc" ); clk =clk_register_fixed_factor (NULL ,"gpio0_clk" ,"apb_clk" ,0 ,1 ,1 );clk_register_clkdev (clk,NULL ,"f0100000.gpio" );Signature · 1 line
2.3.3