summaryrefslogtreecommitdiff
path: root/test/dm/regmap.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-10-12 01:16:49 +0300
committerSimon Glass <sjg@chromium.org>2019-10-27 19:56:41 +0300
commit5ca5ec1e3272f40a7ad26a15e3df3bb18e0b11d8 (patch)
tree54e34ae436bfdfa1839639579a9acb2ebad5b0e9 /test/dm/regmap.c
parent619025b8d68b346442430b8a412852b63960bedb (diff)
downloadu-boot-5ca5ec1e3272f40a7ad26a15e3df3bb18e0b11d8.tar.xz
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>
Diffstat (limited to 'test/dm/regmap.c')
0 files changed, 0 insertions, 0 deletions