commit | 9dbe3852964166fdf3ac4aff4cb67311dfa243bc | [log] [tgz] |
---|---|---|
author | Akinobu Mita <akinobu.mita@gmail.com> | Mon Feb 15 23:49:07 2016 +0900 |
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | Mon Mar 14 17:08:19 2016 +0100 |
tree | 906b99d286c437cc7621751a86fbb1fd09c398c0 | |
parent | 0a966c07323a0506522587e8de96f542ebac04ba [diff] |
rtc: rx8025: protect ctrl1 register update by rtc->ops_lock The ctrl1 register is accessed by alarm operations. But it is updated in threaded interrupt handler without acquiring rtc->ops_lock. Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Cc: Wolfgang Grandegger <wg@grandegger.com> Cc: Alessandro Zummo <a.zummo@towertech.it> Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>