Re: [PATCH 0/2] iio: magnetometer: fix the register restore on resume in mmc35240 and mmc5633

From: Bui Duc Phuc

Date: Sun Oct 11 2026 - 23:13:56 EST


Hi Shashank,

Thanks for finding this.

>
> The Fixes tags name the regcache commit, because that is where the
> behaviour changed: the drivers have used this order since their resume
> callbacks were added, and it worked until v7.2. Please tell me if you
> would rather have the driver commits there.
>

Cache-only mode has to be disabled before the sync, otherwise the
sync makes no sense. mmc35240 and mmc5633 have been misusing
the API since their resume callbacks were added, it only worked by accident.
86fc3483a4d6 and afc8e3ee8307 just catch this misuse.

So please point the Fixes tags at the commits that added the resume
callbacks, so the fixes get backported correctly. I've commented on
each patch.

Best regards,
Phuc