summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/zr364xx.c
AgeCommit message (Collapse)Author
2007-10-29zr364: make file_operations constDouglas Schilling Landgraf
From: Douglas Schilling Landgraf <dougsland@gmail.com> zr364: make file_operations const Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com>
2007-06-25zr364xx: add support for Trust Powerc@m 970ZAntoine Jacquet
From: Antoine Jacquet <royale@zerezo.com> Add Trust Powerc@m 970Z (0x06d6:0x003b) to the list of supported devices. Signed-off-by: Antoine Jacquet <royale@zerezo.com>
2007-05-20zr364xx: fix return valuesroyale@royale
From: Akinobu Mita <akinobu.mita@gmail.com> This patch fixes several return value related problems in zr364xx. - return -ENOMEM instead of -ENODEV on out of memory - zr364xx checks video_register_device() error only when its return value is -1. But video_register_device() doesn't always return -1 on error. - If usb_register() returns error, module_init() wrongly returns 1: retval = usb_register(&zr364xx_driver) < 0; ... return retval; And it allows the module to be loaded. Because sys_init_module() doesn't see positive return value as error. Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Signed-off-by: Antoine Jacquet <royale@zerezo.com>
2007-03-07zr364xx: Use kernel's byte-swapping functionTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Some code to swap bytes wasn't using the swab16() function that the kernel provides for this. Make use of it, which results in more efficient code. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Acked-by: Antoine Jacquet <royale@zerezo.com>
2007-03-05Fix compilation issue with zr364xx when V4L1 is disabledAntoine Jacquet
From: Antoine Jacquet <royale@zerezo.com> Add a missing header to fix compilation issue in the zr364xx driver when CONFIG_VIDEO_V4L1 and CONFIG_VIDEO_V4L1_COMPAT are not set. Signed-off-by: Antoine Jacquet <royale@zerezo.com>
2007-02-27Update zr364xx V4L2 driverMauro Carvalho Chehab
From: Antoine Jacquet <royale@zerezo.com> I did some change on the zr364xx driver following your comments: * I replaced hardcoded values for initialization methods, unfortunately I don't have nicer names to give for now. * I removed the DBG() on all ioctl2 functions and used the .debug var instead. * Following a comment on linux-usb-devel I misunderstood, I added an endianness test which was an error, so I removed it (the order of the bytes in the JPEG header should not depend on endianness). Signed-off-by: Antoine Jacquet <royale@zerezo.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-02-19compat: Fix compat stuff for usbvision and zr364xxTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> compat.h was missing from usbvideo-i2c.c and zr364xx.c zr364xx.c needed the struct semaphore -> struct mutex compat check. Added an old i2c id to compat.h. These could be added to the Hg copy of linux/i2c-id.h instead? There's just this one so far. zr364xx needs 2.6.15 because of vm_insert_page(), so add to versions.txt Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-02-19zr364xx: Automatic whitespace cleanupTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> File wasn't passed through whitespace script when it was checked in. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-02-18USB: add zr364xx V4L2 driverMauro Carvalho Chehab
From: Antoine Jacquet <royale@zerezo.com> This patch adds a V4L2 driver giving support for USB webcams based on the zr364xx chipsets. Signed-off-by: Antoine Jacquet <royale@zerezo.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>