]> asedeno.scripts.mit.edu Git - linux.git/commit
rtc: pcf85063: add RTC_VL_READ/RTC_VL_CLR support
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 1 Apr 2019 16:08:16 +0000 (18:08 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 4 Apr 2019 08:07:11 +0000 (10:07 +0200)
commit27ff836d2f44e73370e247b2fa535166a7dcfbb9
treee2bbf5e00523eae5f3af14ecfa47ca5cfae8ce02
parent85370d3dd0d10a1ae5731c76409d7196ad9f5786
rtc: pcf85063: add RTC_VL_READ/RTC_VL_CLR support

Allow reading the oscillator status bit. Also allow clearing it even if
that makes little sense and can't be done in a race free way.

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