aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMarek Szyprowski <[email protected]>2019-01-21 12:09:30 +0100
committerAlexandre Belloni <[email protected]>2019-01-22 18:34:42 +0100
commit5a5b614ba61cc2a89ad0dffc63d913a1a6ba1f9f (patch)
treef8be6feae309e045dcda0bb8c8be81ed82a1c07e /tools/perf/scripts/python
parentf724c6bee162be3a9cd3b9168414ca106e0cdfe2 (diff)
rtc: s3c: Rewrite clock handling
s3c_rtc_enable/disable_clk() functions were designed to be called multiple times without reference counting, because they were initially only used in alarm setting/clearing functions, which can be called both when alarm is already set or not. Later however, calls to those functions have been added to other places in the driver - like time and /proc reading callbacks, what results in broken alarm if any of such events happens after the alarm has been set. Fix this by simplifying s3c_rtc_enable/disable_clk() functions to rely on proper reference counting in clock core and move alarm enable counter to s3c_rtc_setaie() function. Signed-off-by: Marek Szyprowski <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions