[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <166844930556.2096270.4852750255133310041.b4-ty@bootlin.com>
Date: Mon, 14 Nov 2022 19:08:58 +0100
From: Alexandre Belloni <alexandre.belloni@...tlin.com>
To: Alessandro Zummo <a.zummo@...ertech.it>,
Guenter Roeck <linux@...ck-us.net>
Cc: linux-rtc@...r.kernel.org, chrome-platform@...ts.linux.dev,
Brian Norris <briannorris@...omium.org>,
Benson Leung <bleung@...omium.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] rtc: cros-ec: Limit RTC alarm range if needed
On Fri, 28 Oct 2022 17:54:00 -0700, Guenter Roeck wrote:
> RTC chips on some older Chromebooks can only handle alarms less than 24
> hours in the future. Attempts to set an alarm beyond that range fails.
> The most severe impact of this limitation is that suspend requests fail
> if alarmtimer_suspend() tries to set an alarm for more than 24 hours
> in the future.
>
> Try to set the real-time alarm to just below 24 hours if setting it to
> a larger value fails to work around the problem. While not perfect, it
> is better than just failing the call. A similar workaround is already
> implemented in the rtc-tps6586x driver.
>
> [...]
Applied, thanks!
[1/1] rtc: cros-ec: Limit RTC alarm range if needed
commit: a78590c82c501c53b6f30a5ee10e4261e8b377f7
Best regards,
--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Powered by blists - more mailing lists