]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: rv8803: fix possible race condition
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 12 Feb 2018 22:47:33 +0000 (23:47 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 1 Mar 2018 09:49:23 +0000 (10:49 +0100)
commit6000bbe47fbed79cc08a02be42b06899cd0fcfad
treea95775bba15fb139d0bccb163729dc831c7c16a0
parent4c5f0209156c9af8251ead3351e092d1e56e1692
rtc: rv8803: fix possible race condition

The probe function is not allowed to fail after registering the RTC. Call
rtc_register_device() at the end.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-rv8803.c