All of lore.kernel.org
 help / color / mirror / Atom feed
* [rtc-linux] [PATCH 0/2] bq32000 fixes
@ 2016-08-11  9:59 ` Daniel Romell
  0 siblings, 0 replies; 22+ messages in thread
From: Daniel Romell @ 2016-08-11  9:59 UTC (permalink / raw)
  To: a.zummo; +Cc: alexandre.belloni, rtc-linux, linux-kernel, daro, jao, mago

Hi all,

This is a couple of patches for the bq32000 RTC.

The first one is purely cosmetic, fixing a case where the wrong mask (but
correct value) was used when reading a register value.

The second patch adds a check for a failure flag in the read function. If t=
he
register contents can't be trusted, an error is returned instead.
The patch also removes some code in the probe function that would clear the
failure flag without resolving the error condition. The error is now only
cleared when writing a new time to the RTC.

Jan =C3=96stlund (2):
  rtc: bq32k: Use correct mask name for 'minutes' register.
  rtc: bq32k: Fix handling of oscillator failure flag

 drivers/rtc/rtc-bq32k.c | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

--
2.7.4

--=20
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
---=20
You received this message because you are subscribed to the Google Groups "=
rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to rtc-linux+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2016-08-15  8:46 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-11  9:59 [rtc-linux] [PATCH 0/2] bq32000 fixes Daniel Romell
2016-08-11  9:59 ` Daniel Romell
2016-08-11  9:59 ` [rtc-linux] [PATCH 1/2] rtc: bq32k: Use correct mask name for 'minutes' register Daniel Romell
2016-08-11  9:59   ` Daniel Romell
2016-08-11  9:59 ` [rtc-linux] [PATCH 2/2] rtc: bq32k: Fix handling of oscillator failure flag Daniel Romell
2016-08-11  9:59   ` Daniel Romell
2016-08-11 10:15   ` [rtc-linux] " Alexandre Belloni
2016-08-11 10:15     ` Alexandre Belloni
2016-08-11 11:31 ` [rtc-linux] [PATCH v2 0/2] bq32000 fixes Daniel Romell
2016-08-11 11:31   ` Daniel Romell
2016-08-11 11:31 ` [rtc-linux] [PATCH v2 1/2] rtc: bq32k: Use correct mask name for 'minutes' register Daniel Romell
2016-08-11 11:31   ` Daniel Romell
2016-08-11 13:42   ` [rtc-linux] " Alexandre Belloni
2016-08-11 13:42     ` Alexandre Belloni
2016-08-11 14:56     ` [rtc-linux] " danielromell
2016-08-11 21:13       ` Alexandre Belloni
2016-08-15  7:10   ` [rtc-linux] " Jan Östlund
2016-08-15  7:10     ` Jan Östlund
2016-08-11 11:31 ` [rtc-linux] [PATCH v2 2/2] rtc: bq32k: Fix handling of oscillator failure flag Daniel Romell
2016-08-11 11:31   ` Daniel Romell
2016-08-15  7:10   ` [rtc-linux] " Jan Östlund
2016-08-15  7:10     ` Jan Östlund

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.