diff options
author | Jacob Garber <jgarber1@ualberta.ca> | 2019-07-24 15:15:20 -0600 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-07-26 12:58:57 +0000 |
commit | 83369fa6f4a25711fcec95cc43a79fa185443a83 (patch) | |
tree | 1f7e3c817836c5200309963d851a39295ddad1ee /src/soc/mediatek/mt8183 | |
parent | 532f205a05868c46519af1be7ceb083872644e16 (diff) |
soc/nvidia/tegra124: Correct bitwise operators
We are treating reg_val like a bit mask, so use bitwise or instead of
boolean or, and use |= to enable certain bits instead of overwriting the
whole variable.
Change-Id: Ia8c0ea5a58e25b3b58ed82caba20f8e49a30fb68
Signed-off-by: Jacob Garber <jgarber1@ualberta.ca>
Found-by: Coverity CID 1287070
Reviewed-on: https://review.coreboot.org/c/coreboot/+/34560
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/soc/mediatek/mt8183')
0 files changed, 0 insertions, 0 deletions