Ver código fonte

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>
Igor M. Liplianin 16 anos atrás
pai
commit
e6f9ec8657
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      drivers/media/dvb/dvb-core/dvb_frontend.c

+ 1 - 1
drivers/media/dvb/dvb-core/dvb_frontend.c

@@ -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;