Commit 6e7a333eaa522ef73be01caec7a01521490aaf00
Committed by
John Stultz
1 parent
3c8bb90efb
Exists in
master
and in
4 other branches
rtc: Limit RTC PIE frequency
The RTC pie hrtimer is self rearming. We really need to limit the frequency to something sensible. Thus limit it to the 8192Hz max value from the rtc man documentation Cc: Willy Tarreau <w@1wt.eu> Cc: stable@kernel.org Signed-off-by: Thomas Gleixner <tglx@linutronix.de> [jstultz: slightly reworked to use RTC_MAX_FREQ value] Signed-off-by: John Stultz <john.stultz@linaro.org>
Showing 2 changed files with 4 additions and 1 deletions Side-by-side Diff
drivers/rtc/interface.c
include/linux/rtc.h