rtc: omap: add missing register lock in error path
authorJohan Hovold <johan@kernel.org>
Wed, 4 Jul 2018 09:05:57 +0000 (11:05 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 12 Jul 2018 18:31:19 +0000 (20:31 +0200)
commit4425070a5cfe634bc8e5657ff819a7a0c2d39d33
treecd6df9ecea083c1005f06df12ce940a39f7c7e76
parent551757eb052986ec81cebcc6301cc1c4f8dca938
rtc: omap: add missing register lock in error path

For completeness re-lock the registers also in the power-off error path.

Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-omap.c