https://github.com/torvalds/linux
Revision a30ee3c747728f9151664118ffcbdeefd202c332 authored by Jean Delvare on 05 September 2008, 13:39:27 UTC, committed by Mauro Carvalho Chehab on 05 October 2008, 01:40:33 UTC
The zr36067 driver is improperly declaring pixel format RGBP twice,
once as "16-bit RGB LE" and once as "16-bit RGB BE". The latter is
actually RGBR. Fix the code to properly map both pixel formats.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
1 parent ec16d02
Raw File
Tip revision: a30ee3c747728f9151664118ffcbdeefd202c332 authored by Jean Delvare on 05 September 2008, 13:39:27 UTC
V4L/DVB (8961): zr36067: Fix RGBR pixel format
Tip revision: a30ee3c
no-block.c
/* no-block.c: implementation of routines required for non-BLOCK configuration
 *
 * Copyright (C) 2006 Red Hat, Inc. All Rights Reserved.
 * Written by David Howells (dhowells@redhat.com)
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version
 * 2 of the License, or (at your option) any later version.
 */

#include <linux/kernel.h>
#include <linux/fs.h>

static int no_blkdev_open(struct inode * inode, struct file * filp)
{
	return -ENODEV;
}

const struct file_operations def_blk_fops = {
	.open		= no_blkdev_open,
};
back to top