staging: sm750fb: refactor method and fix potential type inconsistence
PATCH v2 1/1 staging: sm750fb: refactor method and fix potential type inconsistence
include PANEL_DISPLAY_CTRL_FPVDDEN control mask
Signed-off-by Lynn Lei <[email protected]>
--- drivers/staging/sm750fb/ddk750_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/sm750fb/ddk750_display.c +1 -1
@@ -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;
Signature · 1 line
2.13.2
Greg KH
maintainerQuoted 1 line · Lynn Lei
include
PANEL_DISPLAY_CTRL_FPVDDENcontrol mask
Does the subject match this?
Quoted 10 lines
Signed-off-by Lynn Lei <[email protected]>--- drivers/staging/sm750fb/ddk750_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/staging/sm750fb/ddk750_display.c +0
-0
drivers/staging/sm750fb/ddk750_display.c static void swPanelPowerSequence(int disp, int delay) · line 92
Quoted 5 lines
drivers/staging/sm750fb/ddk750_display.c +1
-1@@ -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 ,
Are you sure this is allowed? Why is this patch correct?
And again, it doesn't match the subject line :(
greg k-h