OSDN Git Service

rtc: Fix RTC PIE frequency limit
authorJohn Stultz <john.stultz@linaro.org>
Fri, 22 Jul 2011 09:12:51 +0000 (09:12 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 3 Oct 2011 18:40:08 +0000 (11:40 -0700)
commit1ed2053563d4d0bf70864a9df53c7a5dce7724e9
treee6ab98a2249cc9015a48deb25d0255837de25f58
parentc3a44b4d23f4cb1b3eafb8c2c74d88f452d50a6d
rtc: Fix RTC PIE frequency limit

commit 938f97bcf1bdd1b681d5d14d1d7117a2e22d4434 upstream.

Thomas earlier submitted a fix to limit the RTC PIE freq, but
picked 5000Hz out of the air. Willy noticed that we should
instead use the 8192Hz max from the rtc man documentation.

Cc: Willy Tarreau <w@1wt.eu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/rtc/interface.c
include/linux/rtc.h