summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/s2255drv.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2008-09-07 10:56:55 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-09-07 10:56:55 +0200
commitc7545b9807f1a694c9a3d8bd3bd4b362dc2b02d3 (patch)
treeef3b94ffdcbf1d4778665f786a75f6dce4a940f5 /linux/drivers/media/video/s2255drv.c
parent8c4432cb7bb2b57678c47b8a6b1cdc6d20ff28d5 (diff)
downloadmediapointer-dvb-s2-c7545b9807f1a694c9a3d8bd3bd4b362dc2b02d3.tar.gz
mediapointer-dvb-s2-c7545b9807f1a694c9a3d8bd3bd4b362dc2b02d3.tar.bz2
zr36067: Return proper bytes-per-line value
From: Jean Delvare <khali@linux-fr.org> 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. Priority: high Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/video/s2255drv.c')
0 files changed, 0 insertions, 0 deletions