]> git.ipfire.org Git - thirdparty/u-boot.git/commit
video: tegra: Incorrect operator used
authorAndrew Goodbody <andrew.goodbody@linaro.org>
Wed, 1 Oct 2025 11:55:37 +0000 (12:55 +0100)
committerSvyatoslav Ryhel <clamor95@gmail.com>
Tue, 28 Oct 2025 09:27:44 +0000 (11:27 +0200)
commit1530cfe09a2c24abbbcc665c59a2f1acf4aeb054
tree4c8af6faf5e9650849dcc81e68f9d9914fb6c6e3
parentf77584b53ac89588d8112a3d58f6da16a554c589
video: tegra: Incorrect operator used

Combining two bits into a mask requires the use of the binary 'or'
operator not the logical one. Correct it.

This issue was found by Smatch.

Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Acked-by: Svyatoslav Ryhel <clamor95@gmail.com>
drivers/video/tegra/tegra124/sor.c