[PATCH 3/5] Clocksource: Flextimer: Remove the useless code.

2014-08-25 Thread Xiubo Li
The clock envnt counter will be enabled in proper time and proper
place when needed.

Signed-off-by: Xiubo Li 
Signed-off-by: Jingchang Lu 
---
 drivers/clocksource/fsl_ftm_timer.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/clocksource/fsl_ftm_timer.c 
b/drivers/clocksource/fsl_ftm_timer.c
index c4d23d0f..f70fcf2 100644
--- a/drivers/clocksource/fsl_ftm_timer.c
+++ b/drivers/clocksource/fsl_ftm_timer.c
@@ -221,8 +221,6 @@ static int __init ftm_clockevent_init(unsigned long freq, 
int irq)
freq / (1 << priv->ps),
1, 0x);
 
-   ftm_counter_enable(priv->clkevt_base);
-
return 0;
 }
 
-- 
1.8.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH 3/5] Clocksource: Flextimer: Remove the useless code.

2014-08-25 Thread Xiubo Li
The clock envnt counter will be enabled in proper time and proper
place when needed.

Signed-off-by: Xiubo Li li.xi...@freescale.com
Signed-off-by: Jingchang Lu jingchang...@freescale.com
---
 drivers/clocksource/fsl_ftm_timer.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/clocksource/fsl_ftm_timer.c 
b/drivers/clocksource/fsl_ftm_timer.c
index c4d23d0f..f70fcf2 100644
--- a/drivers/clocksource/fsl_ftm_timer.c
+++ b/drivers/clocksource/fsl_ftm_timer.c
@@ -221,8 +221,6 @@ static int __init ftm_clockevent_init(unsigned long freq, 
int irq)
freq / (1  priv-ps),
1, 0x);
 
-   ftm_counter_enable(priv-clkevt_base);
-
return 0;
 }
 
-- 
1.8.5

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/