[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170312142734.GA19066@kroah.com>
Date: Sun, 12 Mar 2017 15:27:34 +0100
From: Greg KH <gregkh@...uxfoundation.org>
To: Radoslaw Pietrzyk <radoslaw.pietrzyk@...il.com>
Cc: thomas.petazzoni@...e-electrons.com, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] staging: fbtft: Allows bpp to be set from dt
On Fri, Mar 10, 2017 at 10:25:27AM +0100, Radoslaw Pietrzyk wrote:
> Allows bpp to be set from dt
>
> Signed-off-by: Radoslaw Pietrzyk <radoslaw.pietrzyk@...il.com>
> ---
> drivers/staging/fbtft/fbtft-core.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/staging/fbtft/fbtft-core.c b/drivers/staging/fbtft/fbtft-core.c
> index 7c8af29..b25288b 100644
> --- a/drivers/staging/fbtft/fbtft-core.c
> +++ b/drivers/staging/fbtft/fbtft-core.c
> @@ -685,6 +685,8 @@ struct fb_info *fbtft_framebuffer_alloc(struct fbtft_display *display,
> /* override driver values? */
> if (pdata->fps)
> fps = pdata->fps;
> + if (pdata->bpp)
> + bpp = pdata->bpp;
> if (pdata->txbuflen)
> txbuflen = pdata->txbuflen;
> if (pdata->display.init_sequence)
This breaks the build, how did you test this???
thanks,
greg k-h
Powered by blists - more mailing lists