commit | 5444ec6523b3cef796a1c3af4fd7a1021f0f46c2 | [log] [tgz] |
---|---|---|
author | Neil Armstrong <narmstrong@baylibre.com> | Fri Apr 27 11:56:14 2018 +0200 |
committer | Tom Rini <trini@konsulko.com> | Tue May 08 09:07:40 2018 -0400 |
tree | e4ddd9047b0afea65ffc4422a56974efa2cfd389 | |
parent | 8484cb3c2a43c27879aa828b5cf8d8826c542814 [diff] |
regmap: add regmap_update_bits() helper Add the regmap_update_bits() to simply the read/modify/write of registers in a single command. The function is taken from Linux regmap implementation. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Reviewed-by: Simon Glass <sjg@chromium.org>