diff options
author | Mauro Carvalho Chehab <devnull@localhost> | 2005-11-09 18:30:51 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <devnull@localhost> | 2005-11-09 18:30:51 +0000 |
commit | 51e6aace3963d461deec54508840690ca6d492f3 (patch) | |
tree | 63d155b6a88405994f056f6361fe803c001a3627 /linux/drivers/media/video/saa7134/saa7134-core.c | |
parent | 0ba16a35a3502d508163f645bead7fc9173e7e08 (diff) | |
download | mediapointer-dvb-s2-51e6aace3963d461deec54508840690ca6d492f3.tar.gz mediapointer-dvb-s2-51e6aace3963d461deec54508840690ca6d492f3.tar.bz2 |
Moves 32 bit ioctl compat handler to V4L sybsystem
From: Arnd Bergmann <arnd@arndb.de>
This moves the 32 bit ioctl compatibility handlers for
Video4Linux into a new file and adds explicit calls to them
to each v4l device driver.
Unfortunately, there does not seem to be any code handling
the v4l2 ioctls, so quite often the code goes through two
separate conversions, first from 32 bit v4l to 64 bit v4l,
and from there to 64 bit v4l2. My patch does not change
that, so there is still much room for improvement.
Also, some drivers have additional ioctl numbers, for
which the conversion should be handled internally to
that driver.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'linux/drivers/media/video/saa7134/saa7134-core.c')
-rw-r--r-- | linux/drivers/media/video/saa7134/saa7134-core.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linux/drivers/media/video/saa7134/saa7134-core.c b/linux/drivers/media/video/saa7134/saa7134-core.c index efa935195..76e228456 100644 --- a/linux/drivers/media/video/saa7134/saa7134-core.c +++ b/linux/drivers/media/video/saa7134/saa7134-core.c @@ -1,5 +1,5 @@ /* - * $Id: saa7134-core.c,v 1.54 2005/11/09 03:33:33 rmcc Exp $ + * $Id: saa7134-core.c,v 1.55 2005/11/09 18:30:51 mchehab Exp $ * * device driver for philips saa7134 based TV cards * driver core @@ -643,8 +643,8 @@ static irqreturn_t saa7134_irq(int irq, void *dev_id, struct pt_regs *regs) /* If dmasound support is active and we get a sound report, exit and let the saa7134-alsa/oss module deal with it */ - if ((report & SAA7134_IRQ_REPORT_DONE_RA3) && - (dev->dmasound.priv_data != NULL) ) + if ((report & SAA7134_IRQ_REPORT_DONE_RA3) && + (dev->dmasound.priv_data != NULL) ) { if (irq_debug > 1) printk(KERN_DEBUG "%s/irq: ignoring interrupt for DMA sound\n", |