diff options
| author | Chris Brand <[email protected]> | 2013-07-03 15:07:57 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2013-07-03 16:08:00 -0700 |
| commit | 0734e27f0befe9e88c2b5dad789b05b7bf86ce90 (patch) | |
| tree | 2fc9329ef599d4b91dd8d05fd58d3f66f2106fd4 /tools/perf/scripts/python | |
| parent | 5ee67484dede220d96c0b323c78d02c63fdfae44 (diff) | |
drivers/rtc/interface.c: return -EBUSY, not -EACCES when device is busy
If rtc->irq_task is non-NULL and task is NULL, they always
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.
Signed-off-by: Chris Brand <[email protected]>
Acked-by: Alessandro Zummo <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions