Re: [PATCH 1/1] BMP: Add support for 32bpp video frame buffer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/04/2011 03:39 PM, Gregory CLEMENT wrote:
> Signed-off-by: Gregory CLEMENT <gregory.clement@xxxxxxxxxxxxxxxxxx>
> ---
>  commands/bmp.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/commands/bmp.c b/commands/bmp.c
> index 5bac031..644a977 100644
> --- a/commands/bmp.c
> +++ b/commands/bmp.c
> @@ -25,6 +25,7 @@ static inline void set_pixel(struct fb_info *info, void *adr, int r, int g, int
>  		*(u16 *)adr = px;
>  		break;
>  	case 32:
> +		*(u32 *)adr = px;
>  		break;
>  	}
>  }
Any comments for this patch?

It seems pretty trivial and it works at least for me.
But if I missed something, let me know.

-- 
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox


[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux