Thread (26 messages) 26 messages, 5 authors, 2026-02-03

Re: [PATCH v2 5/8] iio: dac: ds4424: convert to regmap

From: Andy Shevchenko <hidden>
Date: 2026-02-03 10:13:50
Also in: linux-iio, lkml

On Tue, Feb 03, 2026 at 12:10:29PM +0200, Andy Shevchenko wrote:
On Sun, Feb 01, 2026 at 05:16:53PM +0100, Oleksij Rempel wrote:
quoted
On Sun, Feb 01, 2026 at 03:42:28PM +0100, Sander Vanheule wrote:
quoted
On Tue, 2026-01-27 at 07:09 +0100, Oleksij Rempel wrote:
...
quoted
Which works mostly fine except of the cache initialisation. If I use
num_reg_defaults_raw with REGCACHE_MAPLE as proposed by Andy
Shevchenko, first access to regmap values over debugfs will explode with
NULL pointer etc...
Yeah, this is known issue in regcache core. I don't remember how it was worked
around in pinctrl-cy8c95x0.c.
That said, have you run the v6.19-rcX kernels? It should have some patches
related to the regcache, but I need to test and send the actual fix for that
NULL case.
quoted
If I remove num_reg_defaults_raw, I need to read register manually
to init defaul values as implemented in v3.
-- 
With Best Regards,
Andy Shevchenko

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help