Re: [PATCH 1/2] iio: magnetometer: mmc35240: leave cache-only mode before the cache sync
From: Bui Duc Phuc
Date: Sun Oct 11 2026 - 22:56:32 EST
Hi Shashank,
Thanks for the fix.
>
> Fixes: afc8e3ee8307 ("regcache: Validate cache_only state in regcache_sync_region()")
> Assisted-by: LLM
> Signed-off-by: Shashank Mohan Jain <jain.sm@xxxxxxxxx>
> ---
> Prepared with Claude Code (Anthropic), model Claude Opus 5.5
> (claude-opus-5-5).
>
Note that the wrong ordering in mmc35240_resume() predates afc8e3ee8307;
the sync in cache-only mode just happened to work before,
and afc8e3ee8307 only exposed it.
So the Fixes tag might better point to the commit that introduced the
resume handler:
553a776b7908 ("iio: magnetometer: mmc35240: Add PM sleep support")
Best regards,
Phuc