[U-Boot] [PATCH 4/5] dm: regmap: Fix mask in regmap_update_bits()
Bin Meng
bmeng.cn at gmail.com
Sat Oct 12 02:17:35 UTC 2019
On Sat, Oct 12, 2019 at 6:25 AM Simon Glass <sjg at chromium.org> 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(-)
>
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
More information about the U-Boot
mailing list