aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorIgor M. Liplianin <liplianin@me.by>2008-09-12 13:49:06 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-10-12 07:37:05 -0400
commite6f9ec86575358309cf9d4b2643df2f3b1f6f9fa (patch)
tree6808dc8d0fc78bf2f41c0dd8837664c02d64eeca /drivers
parentbfbf2dae30ed75bceccc6a88d2d9368694d6bf40 (diff)
V4L/DVB (9005): Bug fix: ioctl FE_SET_PROPERTY/FE_GET_PROPERTY always return error
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/dvb/dvb-core/dvb_frontend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/dvb-core/dvb_frontend.c b/drivers/media/dvb/dvb-core/dvb_frontend.c
index 8bc3c0842b3d..161ebcf9258a 100644
--- a/drivers/media/dvb/dvb-core/dvb_frontend.c
+++ b/drivers/media/dvb/dvb-core/dvb_frontend.c
@@ -1311,7 +1311,7 @@ static int dvb_frontend_ioctl_properties(struct inode *inode, struct file *file,
1311{ 1311{
1312 struct dvb_device *dvbdev = file->private_data; 1312 struct dvb_device *dvbdev = file->private_data;
1313 struct dvb_frontend *fe = dvbdev->priv; 1313 struct dvb_frontend *fe = dvbdev->priv;
1314 int err = -EOPNOTSUPP; 1314 int err = 0;
1315 1315
1316 struct dtv_properties *tvps = NULL; 1316 struct dtv_properties *tvps = NULL;
1317 struct dtv_property *tvp = NULL; 1317 struct dtv_property *tvp = NULL;