]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: asm9260: rework locking
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Wed, 31 Aug 2016 16:15:28 +0000 (18:15 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Mon, 5 Sep 2016 15:15:59 +0000 (17:15 +0200)
commite91398b2c57dc78510a004363e776b8b9477de64
tree5c1632b49e725a2d6899a61d592f8dff60f70a40
parent00b13ef6530ce7f9e61dbe17f05bdd437d52f7fe
rtc: asm9260: rework locking

The rtc-asm9260 driver uses a discrete spinlock (wrongly uninitialized).
Use the rtc mutex to lock mmio accesses instead.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-asm9260.c