Skip to content
Commit 5ca5ec1e authored by Simon Glass's avatar Simon Glass
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
Reviewed-by: default avatarJean-Jacques Hiblot <jjhiblot@ti.com>
parent 619025b8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment