]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
V4L/DVB (9005): Bug fix: ioctl FE_SET_PROPERTY/FE_GET_PROPERTY always return error
authorIgor M. Liplianin <liplianin@me.by>
Fri, 12 Sep 2008 17:49:06 +0000 (14:49 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 12 Oct 2008 11:37:05 +0000 (09:37 -0200)
Bug fix: ioctl FE_SET_PROPERTY/FE_GET_PROPERTY always return error

Signed-off-by: Igor M. Liplianin <liplianin@me.by>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-core/dvb_frontend.c

index 8bc3c0842b3db31fd67fbb6156d8af4606b339e9..161ebcf9258a75e89a73d21fcf690f8484e1a402 100644 (file)
@@ -1311,7 +1311,7 @@ static int dvb_frontend_ioctl_properties(struct inode *inode, struct file *file,
 {
        struct dvb_device *dvbdev = file->private_data;
        struct dvb_frontend *fe = dvbdev->priv;
-       int err = -EOPNOTSUPP;
+       int err = 0;
 
        struct dtv_properties *tvps = NULL;
        struct dtv_property *tvp = NULL;