]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/clocksource/vf_pit_timer.c
Merge branch 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[karo-tx-linux.git] / drivers / clocksource / vf_pit_timer.c
index a918bc481c52c46a83f2e1ff1a50a96dc4180082..b45ac6229b57137d11898ede5ce11f7ec7c69439 100644 (file)
@@ -93,6 +93,10 @@ static void pit_set_mode(enum clock_event_mode mode,
        case CLOCK_EVT_MODE_PERIODIC:
                pit_set_next_event(cycle_per_jiffy, evt);
                break;
+       case CLOCK_EVT_MODE_SHUTDOWN:
+       case CLOCK_EVT_MODE_UNUSED:
+               pit_timer_disable();
+               break;
        default:
                break;
        }