Messages in this thread | | | Date | Fri, 10 Mar 2023 13:02:13 +0000 | From | Mark Brown <> | Subject | Re: [PATCH 1/2] regmap: cache: Do not panic for REGCACHE_NONE regmap |
| |
On Fri, Mar 10, 2023 at 08:39:10AM +0100, Alexander Stein wrote: > Most regcache operations do check for REGCACHE_NONE, before ensuring > doing BUG_ON(!map->cache_ops). The missing regcache_sync* functions > panic on REGCACHE_NONE regmaps instead. Add an early return for non-cached > ones.
Why would we be trying to do a regcache_sync() on a device with no cache? [unhandled content-type:application/pgp-signature] | |