Re: [PATCH] iio: bu27034: Reinit regmap cache after reset

From: Matti Vaittinen
Date: Sun May 07 2023 - 11:45:24 EST


On 5/7/23 16:36, Jonathan Cameron wrote:
On Sun, 7 May 2023 13:16:57 +0300
Matti Vaittinen <mazziesaccount@xxxxxxxxx> wrote:

On 5/6/23 21:07, Jonathan Cameron wrote:
On Thu, 4 May 2023 07:59:00 +0300
Matti Vaittinen <mazziesaccount@xxxxxxxxx> wrote:

I think I've never temporarily bypassed the cache when I've used one :)
I need to check how this is done :)


regcache_cache_bypass(map, true / false);

Thanks! This is a nice tool to have in my toolbox ;)


Combine this with the other patch into one clean fix / tidy up though.

Sure, thanks!

--
Matti Vaittinen
Linux kernel developer at ROHM Semiconductors
Oulu Finland

~~ When things go utterly wrong vim users can always type :help! ~~