commit | 77792b11409c9270d98e604b4314b85ce886ac7d | [log] [tgz] |
---|---|---|
author | Jon Ringle <jringle@gridpoint.com> | Thu Oct 01 12:38:07 2015 -0400 |
committer | Mark Brown <broonie@kernel.org> | Tue Oct 06 16:12:34 2015 +0100 |
tree | 13f3a518de69bbbccbd410b26ff24f0379c28dfd | |
parent | 6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f [diff] |
regmap: Allow installing custom reg_update_bits function This commit allows installing a custom reg_update_bits function for cases where the hardware provides a mechanism to set or clear register bits without a read/modify/write cycle. Such is the case with the Microchip ENCX24J600. If a custom reg_update_bits function is provided, it will only be used against volatile registers. Signed-off-by: Jon Ringle <jringle@gridpoint.com> Signed-off-by: Mark Brown <broonie@kernel.org>