summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/interface.c
diff options
context:
space:
mode:
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2011-01-14 09:47:26 -0800
committerThomas Gleixner <tglx@linutronix.de>2011-01-21 17:38:19 +0100
commitdb6b175fa6ad1408cbb2fb62949a6d55cfece03e (patch)
treef24a18a63b7f7bab192d30c0b1e8500cb75a38b5 /drivers/rtc/interface.c
parent1daeddd5962acad1bea55e524fc0fadf32654a21 (diff)
downloadop-kernel-dev-db6b175fa6ad1408cbb2fb62949a6d55cfece03e.zip
op-kernel-dev-db6b175fa6ad1408cbb2fb62949a6d55cfece03e.tar.gz
acpi_pm: Clear pmtmr_ioport if acpi_pm initialization fails
If the acpi pm timer throws invalid data, clear pmtmr_ioport so the pm timer won't accidentally be used. This was found when using Xen where there is a acpi pm reported, but gives bogus values, and other code was continuing to try to use the pm timer after the initialization failed. [jstultz: Catch additional failure and reword changelog message. ] Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Signed-off-by: John Stultz <johnstul@us.ibm.com> LKML-Reference: <1295027246-11110-1-git-send-email-johnstul@us.ibm.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/rtc/interface.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud