|
@@ -2110,7 +2110,7 @@ static int dvb_frontend_handle_ioctl(struct file *file,
|
|
|
struct dvb_frontend *fe = dvbdev->priv;
|
|
|
struct dvb_frontend_private *fepriv = fe->frontend_priv;
|
|
|
struct dtv_frontend_properties *c = &fe->dtv_property_cache;
|
|
|
- int i, err;
|
|
|
+ int i, err = -EOPNOTSUPP;
|
|
|
|
|
|
dev_dbg(fe->dvb->device, "%s:\n", __func__);
|
|
|
|
|
@@ -2145,6 +2145,7 @@ static int dvb_frontend_handle_ioctl(struct file *file,
|
|
|
}
|
|
|
}
|
|
|
kfree(tvp);
|
|
|
+ err = 0;
|
|
|
break;
|
|
|
}
|
|
|
case FE_GET_PROPERTY: {
|
|
@@ -2196,6 +2197,7 @@ static int dvb_frontend_handle_ioctl(struct file *file,
|
|
|
return -EFAULT;
|
|
|
}
|
|
|
kfree(tvp);
|
|
|
+ err = 0;
|
|
|
break;
|
|
|
}
|
|
|
|