[PATCH v2] staging: sm750fb: refactor method and fix potential type inconsistence
From: Lynn Lei
Date: Sun Jul 02 2017 - 10:41:22 EST
include PANEL_DISPLAY_CTRL_FPVDDEN control mask
Signed-off-by: Lynn Lei <lynnl.wit@xxxxxxxxx>
---
drivers/staging/sm750fb/ddk750_display.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/sm750fb/ddk750_display.c b/drivers/staging/sm750fb/ddk750_display.c
index 0f666dc2729a..c68367e6cdeb 100644
--- a/drivers/staging/sm750fb/ddk750_display.c
+++ b/drivers/staging/sm750fb/ddk750_display.c
@@ -89,7 +89,7 @@ static void swPanelPowerSequence(int disp, int delay)
u32 reg;
u32 opt[] = {
PANEL_DISPLAY_CTRL_FPEN, PANEL_DISPLAY_CTRL_DATA,
- PANEL_DISPLAY_CTRL_VBIASEN, PANEL_DISPLAY_CTRL_FPEN,
+ PANEL_DISPLAY_CTRL_VBIASEN, PANEL_DISPLAY_CTRL_FPVDDEN,
};
u32 size, i;
--
2.13.2