Skip to contentSkip to conversation

clocksource: efm32: Use CLOCK_EVT_FEAT_PERIODIC for defining features

PATCH New Viresh Kumar 3 participants 4 messages Feb 27, 2015 – Mar 30, 2015 Clocksource, clockevent drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clocksource: efm32: Use CLOCK_EVT_FEAT_PERIODIC for defining features

We have used CLOCK_EVT_MODE_PERIODIC instead of CLOCK_EVT_FEAT_PERIODIC while defining features. Fix it.

Cc Uwe Kleine-Koenig <[email protected]>
---
 drivers/clocksource/time-efm32.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/clocksource/time-efm32.c +1 -1
index bba62f9deefb..9edeab37a14b 100644
@@ -111,7 +111,7 @@ static irqreturn_t efm32_clock_event_handler(int irq, void *dev_id)
 static struct efm32_clock_event_ddata clock_event_ddata = {
 	.evtdev = {
 		.name = "efm32 clockevent",
-		.features = CLOCK_EVT_FEAT_ONESHOT | CLOCK_EVT_MODE_PERIODIC,
+		.features = CLOCK_EVT_FEAT_ONESHOT | CLOCK_EVT_FEAT_PERIODIC,
 		.set_mode = efm32_clock_event_set_mode,
 		.set_next_event = efm32_clock_event_set_next_event,
 		.rating = 200,
Signature · 1 line
2.3.0.rc0.44.ga94655d
#1 lore raw

PATCH 1/1 clocksource: efm32: Use CLOCK_EVT_FEAT_PERIODIC for defining features

Hello Viresh,

Quoted 5 lines · Viresh Kumar

We have used CLOCK_EVT_MODE_PERIODIC instead of CLOCK_EVT_FEAT_PERIODIC while defining features. Fix it.

Cc Uwe Kleine-Koenig <[email protected]>

Makes sense, thanks for catching.

Best regards
Uwe

Signature · 2 lines
Pengutronix e.K.                           | Uwe Kleine-K?nig            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
#2 lore raw

PATCH 1/1 clocksource: efm32: Use CLOCK_EVT_FEAT_PERIODIC for defining features

Quoted 11 lines · Uwe Kleine-K?nig

Hello Viresh,

Quoted 5 lines · Viresh Kumar

We have used CLOCK_EVT_MODE_PERIODIC instead of CLOCK_EVT_FEAT_PERIODIC while defining features. Fix it.

Cc Uwe Kleine-Koenig <[email protected]>

Makes sense, thanks for catching.

@Daniel: Have you applied this one ?

#3 lore raw

PATCH 1/1 clocksource: efm32: Use CLOCK_EVT_FEAT_PERIODIC for defining features

Quoted 8 lines · Viresh Kumar
Quoted 6 lines · Uwe Kleine-K?nig

Hello Viresh,

Quoted 3 lines · Viresh Kumar

We have used CLOCK_EVT_MODE_PERIODIC instead of CLOCK_EVT_FEAT_PERIODIC while defining features. Fix it.

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines
Cc Uwe Kleine-Koenig <[email protected]>

Makes sense, thanks for catching.

@Daniel: Have you applied this one ?

Nope, I missed it.

Applied in my tree.

Thanks for the heads up.

-- Daniel

Signature · 5 lines
  <http://www.linaro.org/> Linaro.org ? Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog