commit | 285cbcf97f2b1dcadedb6835b3e9662c7fba0fe2 | [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 | dbe2fcb87d7d2a64e5ed3661e19b79f7014e5165 [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>