summaryrefslogtreecommitdiff
path: root/mm/tests/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorAdriana Stancu <adriana@arista.com>2026-04-16 07:21:51 -0700
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2026-06-24 23:25:09 +0200
commitd4992b7050a10079bc760bdc5b8688e05a09dfc2 (patch)
treea5c0de730b8825b736365887cc73fa08a53bb00b /mm/tests/git@git.tavy.me:linux.git
parent15ec2ce19962b61576c8bf25bc129fc61a653c2e (diff)
rtc: bq32000: add delay between RTC reads
When the RTC is used on systems without a interrupt line, userspace tools like `hwclock` fall back to a frequent polling loop to synchronize with the edge of the next second. On the BQ32000, this aggressive polling can temporarly lock the register refresh cycle, because the continuous transfers prevent the hardware from updating the buffer. This results in stale data reads or select() timeouts in userspace. This patch introduces a delay before reading the RTC registers in order to provide a sufficient idle time for the hardware to sync with the register buffer. Signed-off-by: Adriana Stancu <adriana@arista.com> Link: https://patch.msgid.link/20260416142151.3385827-1-adriana@arista.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'mm/tests/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions