All of lore.kernel.org
 help / color / mirror / Atom feed
* rtc: pcf8523: don't return invalid date when battery is low
@ 2019-06-13  4:30 Baruch Siach
  2019-06-17 12:11 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Baruch Siach @ 2019-06-13  4:30 UTC (permalink / raw)
  To: stable; +Cc: Erik Čuk, Alexandre Belloni, Alessandro Zummo

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 -

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

* Re: rtc: pcf8523: don't return invalid date when battery is low
  2019-06-13  4:30 rtc: pcf8523: don't return invalid date when battery is low Baruch Siach
@ 2019-06-17 12:11 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2019-06-17 12:11 UTC (permalink / raw)
  To: Baruch Siach; +Cc: stable, Erik Čuk, Alexandre Belloni, Alessandro Zummo

On Thu, Jun 13, 2019 at 07:30:34AM +0300, Baruch Siach wrote:
> 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+.

Now queued up, thanks.

greg k-h

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

end of thread, other threads:[~2019-06-17 12:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-13  4:30 rtc: pcf8523: don't return invalid date when battery is low Baruch Siach
2019-06-17 12:11 ` Greg KH

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.