Messages in this thread | | | Date | Tue, 30 Apr 2024 11:09:31 +0900 | From | Mark Brown <> | Subject | Re: [PATCH] regulator: tps6286x-regulator: Enable REGCACHE_FLAT |
| |
On Tue, Apr 30, 2024 at 09:00:19AM +0800, Jisheng Zhang wrote:
> Enable regmap cache to reduce i2c transactions and corresponding > interrupts if regulator is accessed frequently. Since the register map > is small, we use a FLAT regmap cache.
There are a number of disadvantages to the flat cache, especially the lack of sparseness, so it is generally better to use the maple cache unless there's a specific need for the flat cache (usually the fact that it doesn't allocate). [unhandled content-type:application/pgp-signature] | |