[U-Boot] [PATCH 4/5] dm: regmap: Fix mask in regmap_update_bits()

sjg at google.com sjg at google.com
Tue Oct 29 23:21:34 UTC 2019


On 12/10/2019 00:16, Simon Glass wrote:
> 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 at chromium.org>
> ---
>
>   drivers/core/regmap.c | 2 +-
>   include/regmap.h      | 3 ++-
>   2 files changed, 3 insertions(+), 2 deletions(-)
>
Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list