[PATCH] S2API Bug fix: ioctl FE_SET_PROPERTY/FE_GET_PROPERTY always return error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Steven,

It seems a bug - ioctl FE_SET_PROPERTY/FE_GET_PROPERTY always return error.
Though it can be fixed by many ways, send you patch

Igor
# HG changeset patch
# User Igor M. Liplianin <liplianin@xxxxx>
# Date 1221241746 -10800
# Node ID 0ca00da5622f88c5df170732267f13e135e3db81
# Parent  9e583c6fa37424e89d254643e7c78b6e714a21ff
Bug fix: ioctl FE_SET_PROPERTY/FE_GET_PROPERTY always return error

From: Igor M. Liplianin <liplianin@xxxxx>

Bug fix: ioctl FE_SET_PROPERTY/FE_GET_PROPERTY always return error

Signed-off-by: Igor M. Liplianin <liplianin@xxxxx>

diff -r 9e583c6fa374 -r 0ca00da5622f linux/drivers/media/dvb/dvb-core/dvb_frontend.c
--- a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c	Fri Sep 12 00:37:37 2008 -0400
+++ b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c	Fri Sep 12 20:49:06 2008 +0300
@@ -1322,7 +1322,7 @@
 {
 	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;
_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux