Re: [PATCH] rtc: efi: Fail probing if RTC reads don't work

2016-06-06 Thread Alexandre Belloni
On 05/06/2016 at 11:35:56 +0200, Alexander Graf wrote : > 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 > w

Re: [PATCH] rtc: efi: Fail probing if RTC reads don't work

2016-06-06 Thread Ard Biesheuvel
On 5 June 2016 at 11:35, Alexander Graf wrote: > 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

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

2016-06-05 Thread Alexander Graf
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