[PATCH] dm: core: Fix incorrect flag check

Simon Glass sjg at chromium.org
Mon Nov 30 21:15:35 CET 2020


On Sun, 15 Nov 2020 at 13:23, Marek Vasut <marek.vasut at gmail.com> wrote:
>
> The test should be checking whether $flags are non-zero and $drv_flags
> contain specific flags, however these two sets of flags are separate,
> and the two tests should be logically ANDed, not bitwise ANDed.
>
> Signed-off-by: Marek Vasut <marek.vasut+renesas at gmail.com>
> Cc: Simon Glass <sjg at chromium.org>
> ---
>  drivers/core/device-remove.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list