Age | Commit message (Collapse) | Author |
|
From: Douglas Schilling Landgraf <dougsland@gmail.com>
zr364: make file_operations const
Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|