diff options
| author | Heiko Stuebner <[email protected]> | 2015-04-16 12:45:34 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2015-04-17 09:04:01 -0400 |
| commit | b3288a43b4dacd2b4d2b24726d7b469d8ade5120 (patch) | |
| tree | 6f83a13dd27b1e1d39b3091b0ba1b09e9a491158 /tools/perf/scripts/python | |
| parent | d174a024007dd543fd066cffd8eb727806a62da6 (diff) | |
drivers/rtc/rtc-hym8563.c: return clock rate even when clock is disabled
When the clock is disabled, do not return a rate of 0 but instead return
the rate the clock will be running at after it gets enabled. This
prevents problems when the core clock code is trying to determine a
suitable rate, while the clock is still off.
Signed-off-by: Heiko Stuebner <[email protected]>
Cc: 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