commit | 386a68c6f01a5d48609e57f484848de974bc9638 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marek.vasut@gmail.com> | Sun Nov 15 21:22:53 2020 +0100 |
committer | Simon Glass <sjg@chromium.org> | Mon Nov 30 13:14:43 2020 -0700 |
tree | e4a17626c802d7a7d527c58b1824cbfe30c14538 | |
parent | 5370d8375e1edcc4ab846bb3ffa8d438bb12a3cb [diff] |
dm: core: Fix incorrect flag check 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@gmail.com> Cc: Simon Glass <sjg@chromium.org> Reviewed-by: Simon Glass <sjg@chromium.org>