Akinobu Mita fc1dcb0b39 rtc: ds3232: use rtc->ops_lock to protect alarm operations
ds3232->mutex is used to protect for alarm operations which
need to access status and control registers.

But we can use rtc->ops_lock instead.  rtc->ops_lock is held when most
of rtc_class_ops methods are called, so we only need to explicitly
acquire it from irq handler in order to protect form concurrent
accesses.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2016-03-14 17:08:38 +01:00
..
2016-03-14 17:08:35 +01:00
2016-03-14 17:08:35 +01:00
2016-01-11 20:20:01 +01:00
2015-11-10 10:01:21 -08:00
2015-11-10 10:01:21 -08:00
2015-09-05 13:19:06 +02:00
2015-08-05 20:03:56 +08:00
2016-03-14 17:08:20 +01:00
2013-04-19 13:51:25 +02:00
2014-09-19 12:39:19 +02:00
2015-09-05 19:37:19 +02:00