aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorTodd Poynor <[email protected]>2011-08-10 20:20:36 -0700
committerJohn Stultz <[email protected]>2011-08-26 17:26:54 -0700
commit7e72c686347562b4a275c97b4bdd7a79c1f23c65 (patch)
tree02d26d0499a1510efa3e15ff57046ad35955f84c /tools/perf/scripts/python/bin
parenta7402deb324f62106566f5a95199a54c41e200ef (diff)
rtc: twl: Fix registration vs. init order
Only register as an RTC device after the hardware has been successfully initialized. The RTC class driver will call back to this driver to read a pending alarm, and other drivers watching for new devices on the RTC class may read the RTC time upon registration. Such access might occur while the RTC is stopped, prior to clearing pending alarms, etc. The new ordering also avoids leaving the platform device drvdata set to an unregistered struct rtc_device * on probe errors. Signed-off-by: Todd Poynor <[email protected]> Signed-off-by: John Stultz <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions