git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72129e0
)
Correct SPL use of VIDEO_BPP32
author
Simon Glass
<sjg@chromium.org>
Sun, 5 Feb 2023 22:44:30 +0000
(15:44 -0700)
committer
Tom Rini
<trini@konsulko.com>
Fri, 10 Feb 2023 12:41:40 +0000
(07:41 -0500)
This converts 1 usage of this option to the non-SPL form, since there is
no SPL_VIDEO_BPP32 defined in Kconfig
Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/video/video-uclass.c
patch
|
blob
|
history
diff --git
a/drivers/video/video-uclass.c
b/drivers/video/video-uclass.c
index
f36970e
..
6aaacff
100644
(file)
--- a/
drivers/video/video-uclass.c
+++ b/
drivers/video/video-uclass.c
@@
-203,7
+203,7
@@
u32 video_index_to_colour(struct video_priv *priv, unsigned int idx)
}
break;
case VIDEO_BPP32:
- if (
CONFIG_IS_ENABLED(
VIDEO_BPP32)) {
+ if (
IS_ENABLED(CONFIG_
VIDEO_BPP32)) {
if (priv->format == VIDEO_X2R10G10B10)
return (colours[idx].r << 22) |
(colours[idx].g << 12) |