]> Git Repo - linux.git/commitdiff
clocksource: ti-32k: Remove CLOCK_SOURCE_SUSPEND_NONSTOP flag
authorKeerthy <[email protected]>
Thu, 2 Aug 2018 06:35:16 +0000 (12:05 +0530)
committerThomas Gleixner <[email protected]>
Thu, 2 Aug 2018 11:35:08 +0000 (13:35 +0200)
Since commit 39232ed5a179 ("time: Introduce one suspend clocksource to
compensate the suspend time") suspend/resume fails on AM437x platforms as
the clocksource actually stops in suspend.

Hence remove the CLOCK_SOURCE_SUSPEND_NONSTOP flag.

Suggested-by: Grygorii Strashko <[email protected]>
Signed-off-by: Keerthy <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: <[email protected]>
Cc: <[email protected]>
Cc: <[email protected]>
Cc: <[email protected]>
Cc: <[email protected]>
Cc: <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
drivers/clocksource/timer-ti-32k.c

index 880a861ab3c82dd1709b4accc9d9200593ea9ffa..29e2e1a78a43372ee96e64bb9b93d6b21b5288f7 100644 (file)
@@ -78,8 +78,7 @@ static struct ti_32k ti_32k_timer = {
                .rating         = 250,
                .read           = ti_32k_read_cycles,
                .mask           = CLOCKSOURCE_MASK(32),
-               .flags          = CLOCK_SOURCE_IS_CONTINUOUS |
-                               CLOCK_SOURCE_SUSPEND_NONSTOP,
+               .flags          = CLOCK_SOURCE_IS_CONTINUOUS,
        },
 };
 
This page took 0.064218 seconds and 4 git commands to generate.