All of lore.kernel.org
 help / color / mirror / Atom feed
From: Baruch Siach <baruch@tkos.co.il>
To: stable@vger.kernel.org
Cc: "Erik Čuk" <erik.cuk@domel.com>,
	"Alexandre Belloni" <alexandre.belloni@bootlin.com>,
	"Alessandro Zummo" <a.zummo@towertech.it>
Subject: rtc: pcf8523: don't return invalid date when battery is low
Date: Thu, 13 Jun 2019 07:30:34 +0300	[thread overview]
Message-ID: <877e9qt8d1.fsf@tarshish> (raw)

Hi stable kernel team,

Please consider upstream commit ecb4a353d3afd45 ("rtc: pcf8523: don't
return invalid date when battery is low") for stable backport. As the
commit log explains, this fixes bogus system date when RTC backup
battery is low.  With this fix date is set to the well known 01-01-1970
value instead.

This commit should be applicable to v4.9+.

Thanks,
baruch

--
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -

             reply	other threads:[~2019-06-13 16:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-13  4:30 Baruch Siach [this message]
2019-06-17 12:11 ` rtc: pcf8523: don't return invalid date when battery is low Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877e9qt8d1.fsf@tarshish \
    --to=baruch@tkos.co.il \
    --cc=a.zummo@towertech.it \
    --cc=alexandre.belloni@bootlin.com \
    --cc=erik.cuk@domel.com \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.