commit | 56bed2a253eec5e1493e1af1e1a9e044ab4e0711 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Fri Oct 11 16:16:49 2019 -0600 |
committer | Simon Glass <sjg@chromium.org> | Sun Oct 27 10:56:41 2019 -0600 |
tree | 54e34ae436bfdfa1839639579a9acb2ebad5b0e9 | |
parent | c667fb06fad26cf7b5a3e97b4a9ca31907bf3709 [diff] |
dm: regmap: Fix mask in regmap_update_bits() This function assumes that the 'val' parameter has no masked bits set. This is not defined by the function prototype though. Fix the function to mask the value and update the documentation. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Jean-Jacques Hiblot <jjhiblot@ti.com>