Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7368c69c authored by Alexander Graf's avatar Alexander Graf Committed by Alexandre Belloni
Browse files

rtc: efi: Fail probing if RTC reads don't work



While the EFI spec mandates an RTC, not every implementation actually adheres
to that rule (or can adhere to it - some systems just don't have an RTC).

For those, we really don't want to probe the EFI RTC driver at all, because if
we do we'd get a non-functional driver that does nothing useful but only spills
our kernel log with warnings.

Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
Acked-by: default avatarArd Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@free-electrons.com>
parent 06776c89
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment