Commit 80b97ad2 authored by Hsin-Te Yuan's avatar Hsin-Te Yuan Committed by Tomasz Nowicki
Browse files

FROMLIST: drm/mediatek: Fix color format MACROs in OVL



In commit 9f428b95 ("drm/mediatek: Add new color format MACROs in
OVL"), some new color formats are defined in the MACROs to make the
switch statement more concise. That commit was intended to be a no-op
cleanup. However, there are typos in these formats MACROs, which cause
the return value to be incorrect. Fix the typos to ensure the return
value remains unchanged.

Fixes: 9f428b95 ("drm/mediatek: Add new color format MACROs in OVL")
Reviewed-by: default avatarDouglas Anderson <dianders@chromium.org>
Reviewed-by: default avatarMatthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: default avatarHsin-Te Yuan <yuanhsinte@chromium.org>
(am from https://patchwork.kernel.org/patch/13838536/)
(also found at https://lore.kernel.org/r/20241016-color-v3-1-e0f5f44a72d8@chromium.org

)

UPSTREAM-TASK=b:373861109
BUG=b:369202951, b:372843878
TEST=See bug

Change-Id: Ibb6ed2f6c777d7b861f721c3a5d7b2b9c29d9369
Signed-off-by: default avatarDouglas Anderson <dianders@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/5938107


Reviewed-by: default avatarYu-Che Cheng <giver@chromium.org>
Commit-Queue: Hsin-Te Yuan <yuanhsinte@chromium.org>
Reviewed-by: default avatarSean Paul <sean@poorly.run>
Signed-off-by: default avatarHubert Mazur <hmazur@google.com>
Signed-off-by: default avatarTomasz Nowicki <tnowicki@google.com>
parent fcf31a02
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment