Patchwork ARM: clk-imx31: Fix the keypad clock name

login
register
mail settings
Submitter Fabio Estevam
Date July 26, 2012, 7:08 p.m.
Message ID <1343329733-14720-1-git-send-email-fabio.estevam@freescale.com>
Download mbox | patch
Permalink /patch/173476/
State New
Headers show

Comments

Fabio Estevam - July 26, 2012, 7:08 p.m.
Fix the keypad clock name, in order to fix the following error:

imx-keypad imx-keypad: failed to get keypad clock
imx-keypad: probe of imx-keypad failed with error -2

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 arch/arm/mach-imx/clk-imx31.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Sascha Hauer - July 27, 2012, 8:27 a.m.
On Thu, Jul 26, 2012 at 04:08:53PM -0300, Fabio Estevam wrote:
> Fix the keypad clock name, in order to fix the following error:
> 
> imx-keypad imx-keypad: failed to get keypad clock
> imx-keypad: probe of imx-keypad failed with error -2

Looks like stable material, right?

Sascha

> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
>  arch/arm/mach-imx/clk-imx31.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/arm/mach-imx/clk-imx31.c b/arch/arm/mach-imx/clk-imx31.c
> index 8e19e70..1253af2 100644
> --- a/arch/arm/mach-imx/clk-imx31.c
> +++ b/arch/arm/mach-imx/clk-imx31.c
> @@ -130,7 +130,7 @@ int __init mx31_clocks_init(unsigned long fref)
>  	clk_register_clkdev(clk[nfc], NULL, "mxc_nand.0");
>  	clk_register_clkdev(clk[ipu_gate], NULL, "ipu-core");
>  	clk_register_clkdev(clk[ipu_gate], NULL, "mx3_sdc_fb");
> -	clk_register_clkdev(clk[kpp_gate], "kpp", NULL);
> +	clk_register_clkdev(clk[kpp_gate], NULL, "imx-keypad");
>  	clk_register_clkdev(clk[usb_div_post], "per", "mxc-ehci.0");
>  	clk_register_clkdev(clk[usb_gate], "ahb", "mxc-ehci.0");
>  	clk_register_clkdev(clk[ipg], "ipg", "mxc-ehci.0");
> -- 
> 1.7.1
> 
> 
>
Fabio Estevam - July 27, 2012, 10:03 a.m.
On Fri, Jul 27, 2012 at 5:27 AM, Sascha Hauer <s.hauer@pengutronix.de> wrote:

> Looks like stable material, right?

Yes, I think it can go to stable.

Thanks,

Fabio Estevam

Patch

diff --git a/arch/arm/mach-imx/clk-imx31.c b/arch/arm/mach-imx/clk-imx31.c
index 8e19e70..1253af2 100644
--- a/arch/arm/mach-imx/clk-imx31.c
+++ b/arch/arm/mach-imx/clk-imx31.c
@@ -130,7 +130,7 @@  int __init mx31_clocks_init(unsigned long fref)
 	clk_register_clkdev(clk[nfc], NULL, "mxc_nand.0");
 	clk_register_clkdev(clk[ipu_gate], NULL, "ipu-core");
 	clk_register_clkdev(clk[ipu_gate], NULL, "mx3_sdc_fb");
-	clk_register_clkdev(clk[kpp_gate], "kpp", NULL);
+	clk_register_clkdev(clk[kpp_gate], NULL, "imx-keypad");
 	clk_register_clkdev(clk[usb_div_post], "per", "mxc-ehci.0");
 	clk_register_clkdev(clk[usb_gate], "ahb", "mxc-ehci.0");
 	clk_register_clkdev(clk[ipg], "ipg", "mxc-ehci.0");