]> 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)
commitf497bfe0668f8c2cbf46e445794a5fa1d9d797b2
tree5c1632b49e725a2d6899a61d592f8dff60f70a40
parentfa5971d38ebb4654d92bc9ae503317c71e7aff89
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