summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/panel/panel-abt-y030xx067a.c
diff options
context:
space:
mode:
authorChristophe Branchereau <cbranchereau@gmail.com>2021-09-14 11:27:16 +0200
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>2021-10-06 11:12:28 +0200
commit413e8d06ad896dae9bbc6f97b0abea5eae5495f1 (patch)
tree5cde38fc0f158732af43d7d7340ed0ddbbd9d571 /drivers/gpu/drm/panel/panel-abt-y030xx067a.c
parent990a9ff072776908bf0654e23df69c30aa9ff945 (diff)
drm/panel: abt-y030xx067a: yellow tint fix
The previous parameters caused an unbalanced yellow tint. Fixes: 7467389bdafb ("drm/panel: Add ABT Y030XX067A 3.0" 320x480 panel") Signed-off-by: Christophe Branchereau <cbranchereau@gmail.com> Acked-by: Sam Ravnborg <sam@ravnborg.org> [Paul: Add Fixes: tag, and fix case and punctuation in commit message] Signed-off-by: Paul Cercueil <paul@crapouillou.net> Link: https://patchwork.freedesktop.org/patch/msgid/20210914092716.2370039-1-cbranchereau@gmail.com Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Diffstat (limited to 'drivers/gpu/drm/panel/panel-abt-y030xx067a.c')
-rw-r--r--drivers/gpu/drm/panel/panel-abt-y030xx067a.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/panel/panel-abt-y030xx067a.c b/drivers/gpu/drm/panel/panel-abt-y030xx067a.c
index 2d8794d495d0..3d8a9ab47cae 100644
--- a/drivers/gpu/drm/panel/panel-abt-y030xx067a.c
+++ b/drivers/gpu/drm/panel/panel-abt-y030xx067a.c
@@ -146,8 +146,8 @@ static const struct reg_sequence y030xx067a_init_sequence[] = {
{ 0x09, REG09_SUB_BRIGHT_R(0x20) },
{ 0x0a, REG0A_SUB_BRIGHT_B(0x20) },
{ 0x0b, REG0B_HD_FREERUN | REG0B_VD_FREERUN },
- { 0x0c, REG0C_CONTRAST_R(0x10) },
- { 0x0d, REG0D_CONTRAST_G(0x10) },
+ { 0x0c, REG0C_CONTRAST_R(0x00) },
+ { 0x0d, REG0D_CONTRAST_G(0x00) },
{ 0x0e, REG0E_CONTRAST_B(0x10) },
{ 0x0f, 0 },
{ 0x10, REG10_BRIGHT(0x7f) },