>From d947346c66e2af7f3dd055e7daf1778d98c61e50 Mon Sep 17 00:00:00 2001 From: Manu Abraham Date: Thu, 4 Sep 2008 14:56:05 +0200 Subject: [PATCH] DVB fix missing return value From: Manu Abraham Signed-off-by: Manu Abraham diff --git a/drivers/media/dvb/dvb-core/dvb_frontend.c b/drivers/media/dvb/dvb-core/dvb_frontend.c index 42ed894..3a49876 100644 --- a/drivers/media/dvb/dvb-core/dvb_frontend.c +++ b/drivers/media/dvb/dvb-core/dvb_frontend.c @@ -1851,9 +1851,10 @@ static int dvb_frontend_ioctl(struct inode *inode, struct file *file, break; case DVBFE_SET_DELSYS: memcpy(&fepriv->delsys, (enum dvbfe_delsys *) parg, sizeof (enum dvbfe_delsys)); - if (fe->ops.set_delsys) + if (fe->ops.set_delsys) { fe->ops.set_delsys(fe, fepriv->delsys); - + err = 0; + } break; case DVBFE_GET_INFO: printk("%s: DVBFE_GET_INFO\n", __func__);