ACPICA: Events: Add runtime stub support for event APIs
authorLv Zheng <lv.zheng@intel.com>
Mon, 5 Jun 2017 08:40:02 +0000 (16:40 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 12 Jun 2017 12:58:41 +0000 (14:58 +0200)
commit861ba6351c520328e94a78c923b415faa9116287
tree977eba6a939bb1b63dcc75555c1eedeb9adb650b
parent84676b87b27d8aefafb9f712a5b444938f284513
ACPICA: Events: Add runtime stub support for event APIs

ACPICA commit 99bc3beca92c6574ea1d69de42e54f872e6373ce

It is reported that on Linux, RTC driver complains wrong errors on
hardware reduced platform:
  [    4.085420] ACPI Warning: Could not enable fixed event - real_time_clock (4) (20160422/evxface-654)

This patch fixes this by correctly adding runtime reduced hardware check.
Reported by Chandan Tagore, fixed by Lv Zheng.

Link: https://github.com/acpica/acpica/commit/99bc3bec
Tested-by: Chandan Tagore <tagore.chandan@gmail.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/evxfevnt.c