+10
−9
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Reading back the CONFIG register increases an extra I2C transaction. This's not necessary and could be replaced with a local variable caching the register settings. So this patch replaces two readback regmap_read() calls with a tmp variable. Signed-off-by:Nicolin Chen <nicoleotsuka@gmail.com> Signed-off-by:
Guenter Roeck <linux@roeck-us.net>