Re: [PATCH] regcache: disable cache_only before rewriting paging registers
From: Mark Brown
Date: Mon Jul 13 2026 - 09:51:51 EST
On Mon, Jul 13, 2026 at 08:07:13PM +0700, Bui Duc Phuc wrote:
> Just to clarify for my understanding: does this mean regcache_sync()
> is strictly
> expected to be called only after cache_only has been set to false?
Yes, calling regcache_sync() with the cache enabled is not particularly
sensible - it basically exists to put all the changes made while a
device was in cache only mode (including due to suspend which is the
main case for that) onto the device.
Attachment:
signature.asc
Description: PGP signature