Re: [PATCH] iio: light: rpr0521: Propagate regcache_sync() errors

From: Jonathan Cameron

Date: Sat Jul 11 2026 - 18:40:17 EST


On Sat, 4 Jul 2026 09:54:11 +0200
Markus Elfring <Markus.Elfring@xxxxxx> wrote:

>
> > Return the regcache_sync() error so resume does not hide a failed
> > register restore.
>
> How do you think about to add any tags (like “Fixes” and “Cc”) accordingly?

A valid question to ask. In this particular case I'm going to treat it is
hardening against a failure that hasn't been observed in practice and
apply it. Note I also added the blank line that Andy called out in a similar
patch.

Applied to the testing branch of iio.git.

Thanks,

Jonathan

>
> See also:
> * https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v7.2-rc1#n145
> * https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/stable-kernel-rules.rst?h=v7.2-rc1#n34
>
>
> Regards,
> Markus