From: Andrzej Hajda Date: Mon, 12 Sep 2016 09:23:07 +0000 (+0200) Subject: drm/panel/s6e3ha2: merge POC setting commands X-Git-Tag: submit/tizen/20160926.022655~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F68%2F87968%2F3;p=platform%2Fkernel%2Flinux-exynos.git drm/panel/s6e3ha2: merge POC setting commands The patch merges POC setting commands into one function. Change-Id: Ifbcc0921e9c4cc6da015460e700607e2cdba561a Signed-off-by: Andrzej Hajda --- diff --git a/drivers/gpu/drm/panel/panel-s6e3ha2.c b/drivers/gpu/drm/panel/panel-s6e3ha2.c index 2bf064a43c57..94fdb95f81b0 100644 --- a/drivers/gpu/drm/panel/panel-s6e3ha2.c +++ b/drivers/gpu/drm/panel/panel-s6e3ha2.c @@ -814,13 +814,9 @@ static void s6e3ha2_pentile_control(struct s6e3ha2 *ctx) 0x00, 0x00, 0xd8, 0xd8); } -static void s6e3ha2_poc_global(struct s6e3ha2 *ctx) -{ - s6e3ha2_dcs_write_seq_static(ctx, LDI_G_PARA, 0x20); -} - static void s6e3ha2_poc_setting(struct s6e3ha2 *ctx) { + s6e3ha2_dcs_write_seq_static(ctx, LDI_G_PARA, 0x20); s6e3ha2_dcs_write_seq_static(ctx, LDI_OSCCTL2, 0x08); } @@ -1189,7 +1185,6 @@ static int s6e3ha2_enable(struct drm_panel *panel) s6e3ha2_test_key_on_fc(ctx); s6e3ha2_touch_hsync_on1(ctx); s6e3ha2_pentile_control(ctx); - s6e3ha2_poc_global(ctx); s6e3ha2_poc_setting(ctx); s6e3ha2_test_key_off_fc(ctx);