commit | fa2ca7cce6adbbf3dedaebd24a9b81c2a9c547aa | [log] [tgz] |
---|---|---|
author | Olliver Schinagl <oliver@schinagl.nl> | Wed Nov 21 20:05:26 2018 +0200 |
committer | Jagan Teki <jagan@amarulasolutions.com> | Fri Dec 07 22:24:33 2018 +0530 |
tree | 7c3d032c79fabde59020fc1733da7a97f21a8b45 | |
parent | 4ccb2c40391e29dddd92c93a8cebba9f57fa019a [diff] |
sunxi: pmic_bus: Decrease boot time by not writing duplicate data 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>