Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1460357

[PATCH 0/2] bq32000 fixes

From Daniel Romell <danielromell@gmail.com>
Newsgroups linux.kernel
Subject [PATCH 0/2] bq32000 fixes
Date 2016-08-11 12:10 +0200
Message-ID <s4V61-2qB-21@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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 the
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 Östlund (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

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/2] bq32000 fixes Daniel Romell <danielromell@gmail.com> - 2016-08-11 12:10 +0200
  [PATCH 2/2] rtc: bq32k: Fix handling of oscillator failure flag Daniel Romell <danielromell@gmail.com> - 2016-08-11 12:10 +0200
    Re: [PATCH 2/2] rtc: bq32k: Fix handling of oscillator failure flag Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2016-08-11 12:20 +0200
  [PATCH v2 0/2] bq32000 fixes Daniel Romell <danielromell@gmail.com> - 2016-08-11 13:40 +0200
    [PATCH v2 1/2] rtc: bq32k: Use correct mask name for 'minutes' register. Daniel Romell <danielromell@gmail.com> - 2016-08-11 13:40 +0200
      Re: [PATCH v2 1/2] rtc: bq32k: Use correct mask name for 'minutes'  register. Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2016-08-11 15:50 +0200
        Re: [rtc-linux] Re: [PATCH v2 1/2] rtc: bq32k: Use correct mask name  for 'minutes' register. Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2016-08-11 23:20 +0200
      RE: [PATCH v2 1/2] rtc: bq32k: Use correct mask name for 'minutes'  register. Jan Östlund <jao@hms.se> - 2016-08-15 09:50 +0200

csiph-web