
22 Nov
2018
22 Nov
'18
9:21 a.m.
On Wed, Nov 21, 2018 at 08:05:26PM +0200, Priit Laes wrote:
From: Olliver Schinagl oliver@schinagl.nl
When we clear a pmic_bus bit, we do a read-modify-write operation. We waste some time however, by writing back the exact samea value that was already set in the chip. Let us thus only do the write in case data was changed.
Signed-off-by: Olliver Schinagl oliver@schinagl.nl Signed-off-by: Priit Laes plaes@plaes.org
Acked-by: Maxime Ripard maxime.ripard@bootlin.com
Maxime
--
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com