From: Chris Brand
If rtc->irq_task is non-NULL and task is NULL, they always
differ, which means that in rtc_irq_set_state() and
rtc_irq_set_freq(), whenever err is set to -EBUSY it will
then immediately be set to -EACCES, misleading the caller
as to the underlying problem.
---
drivers/rtc/inter
I originally sent this patch 4 Apr [1] and 17 Apr [2] to the rtc
mailing list and maintainer, but saw no responses. I think it's
pretty clear that the original code is wrong.
Hopefully third time's the charm...
Chris
[1] https://groups.google.com/forum/?fromgroups=#!topic/rtc-linux/GrsRzUH1ORc
[
2 matches
Mail list logo