Hi,
On Mon, Feb 19, 2024 at 06:05:40PM +0800, Hermes Zhang wrote:
Since all of the regs in the bq27xxx_reg_cache are now cached, a simpleSo the problem is not the caching, but the grouping. So instead
property read (such as temperature) will need nine I2C transmissions.
Introduce a new module parameter to enable the reg cache to be configured,
which decrease the amount of unnecessary I2C transmission and preventing
the error -16 (EBUSY) happen when working on an I2C bus that is shared by
many devices.
of adding this hack, please change the code to do the caching
per register. That way you can just keep the caching enabled and
don't need any custom module parameters.