OpenCloudOS-Kernel/drivers/media
Jean Delvare bba4449c63 V4L/DVB (8958): zr36067: Return proper bytes-per-line value
The zr36067 driver should return the actual bytes-per-line value when
queried with ioctl VIDIOC_G_FMT, instead of 0. Otherwise user-space
applications can get confused.

Likewise, with ioctl VIDIOC_S_FMT, we are supposed to fill the
bytes-per-line value. And we shouldn't fail if the caller sets the
initial value to something different from 0. This is perfectly valid
for applications to pre-fill this field with the value they expect.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-10-04 22:38:49 -03:00
..
common V4L/DVB (8805): Steven Toth email address change 2008-09-03 18:37:21 -03:00
dvb V4L/DVB (8877): b2c2 and bt8xx: udelay to mdelay 2008-09-04 18:27:03 -03:00
radio V4L/DVB (8778): radio: fix incorrect video_register_device result check 2008-09-03 18:37:16 -03:00
video V4L/DVB (8958): zr36067: Return proper bytes-per-line value 2008-10-04 22:38:49 -03:00
Kconfig V4L/DVB (8392): media/Kconfig: Convert V4L1_COMPAT select into "depends on" 2008-07-20 07:28:49 -03:00
Makefile V4L/DVB (8274): sms1xxx: build cleanup after driver relocation 2008-07-20 07:20:56 -03:00