summaryrefslogtreecommitdiff
path: root/drivers/spi/tegra114_spi.c
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2019-02-13 21:50:25 +0100
committerMarek Vasut <marex@denx.de>2019-02-25 16:07:36 +0100
commitb275c9aba6d1628211287f80297048128acec964 (patch)
tree82b3c54799f2f50859512c13a961657f19022726 /drivers/spi/tegra114_spi.c
parent97b262758b7c99a644155254bee9f716573b10ac (diff)
ARM: cache: Fix incorrect bitwise operation
The loop implemented in the code is supposed to check whether the PL310 operation register has any bit from the mask set. Currently, the code checks whether the PL310 operation register has any bit set AND whether the mask is non-zero, which is incorrect. Fix the conditional. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Dalon Westergreen <dwesterg@gmail.com> Cc: Dinh Nguyen <dinguyen@kernel.org> Cc: Tom Rini <trini@konsulko.com> Fixes: 93bc21930a1b ("armv7: add PL310 support to u-boot")
Diffstat (limited to 'drivers/spi/tegra114_spi.c')
0 files changed, 0 insertions, 0 deletions