[PATCH v2] staging: sm750fb: refactor method and fix potential type inconsistence

Greg KH gregkh at linuxfoundation.org
Mon Jul 3 06:20:40 UTC 2017


On Sun, Jul 02, 2017 at 10:40:33PM +0800, Lynn Lei wrote:
> include PANEL_DISPLAY_CTRL_FPVDDEN control mask


Does the subject match this?

> Signed-off-by: Lynn Lei <lynnl.wit at gmail.com>
> ---
>  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,

Are you sure this is allowed?  Why is this patch correct?

And again, it doesn't match the subject line :(

greg k-h


More information about the devel mailing list