diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2015-01-13 12:28:53 +0000 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2015-01-20 15:46:21 +0000 |
commit | 822a0279287603f150b991d0ea319bbba5aa235a (patch) | |
tree | 0c4ad7af0bb16c41c07af6ef1fbcb324213b4a5f /drivers/firmware | |
parent | ddeeefe2dfbe1fa6b116b9362b1bec465b64c873 (diff) |
efi: rtc-efi: Mark UIE as unsupported
Tools like hwclock attempt to enable the RTC update interrupt (UIE) to
maximize the accuracy of the reported time value. The EFI rtc does not
have interrupt capability so this is a pointless exercise to begin with,
but the generic RTC framework ends up issuing a SetWakeupTime() Runtime
Services call before drawing that conclusion on its own.
Instead, we can mark UIE as unsupported at driver probe time. The net
result is the same, but without the spurious SetWakeupTime() call.
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'drivers/firmware')
0 files changed, 0 insertions, 0 deletions