Re: [PATCH v3 1/1] regmap: Synchronize cache for the page selector

From: Andy Shevchenko
Date: Thu Jan 30 2025 - 03:21:36 EST


On Wed, Jan 29, 2025 at 06:50:57PM +0100, Marek Szyprowski wrote:
> On 29.01.2025 16:07, Andy Shevchenko wrote:
> >> [...]
> > Meanwhile, can you test this patch (on top of non-working case)?
> >
> > If I understood the case, the affected driver doesn't use case and we actually
> > write to the selector register twice which most likely messes up the things.
> > But this is only a theory (since we don't have the traces yet).
>
> Bingo! This patch (on top of current linux-next) fixed the probe issue.
> Feel free to add:
>
> Reported-by: Marek Szyprowski <m.szyprowski@xxxxxxxxxxx>
> Tested-by: Marek Szyprowski <m.szyprowski@xxxxxxxxxxx>

Thank you! I will test it on my HW as well to confirm that there no regressions
and will submit a formal fix.

> (although I'm not sure if this is a fix for the generic case or just
> this driver)

This is for all cases where cache is not in use.

--
With Best Regards,
Andy Shevchenko