Re: [PATCH 2/2] iio: magnetometer: mmc5633: leave cache-only mode before the cache sync

From: Bui Duc Phuc

Date: Sun Oct 11 2026 - 22:53:14 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 mmc5633_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:

6e5f6bf2e3f0 ("iio: magnetometer: Add mmc5633 sensor")

Best regards,
Phuc