summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
authorAndrew de Quincey <adq_dvb@lidskialf.net>2006-06-29 17:16:04 +0100
committerAndrew de Quincey <adq_dvb@lidskialf.net>2006-06-29 17:16:04 +0100
commitcf2726b9acae676a297442a4879104ea771b41dc (patch)
treeacaa4dfa827594c9e9fd806051531068ad73f348 /linux/drivers
parent7b4745d0e79fef1b299f7bfa208aa02e7c6b396d (diff)
downloadmediapointer-dvb-s2-cf2726b9acae676a297442a4879104ea771b41dc.tar.gz
mediapointer-dvb-s2-cf2726b9acae676a297442a4879104ea771b41dc.tar.bz2
The FE_SET_FRONTEND_TUNE_MODE ioctl always returns EOPNOTSUPP
From: Trent Piepho <xyzzy@speakeasy.org> When someone added the front-end ioctl FE_SET_FRONTEND_TUNE_MODE, they forgot to set the return value to 0. It always returns EOPNOTSUPP, causing problems for programmers who actually check for error conditions. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Diffstat (limited to 'linux/drivers')
-rw-r--r--linux/drivers/media/dvb/dvb-core/dvb_frontend.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c
index 76002d433..b3dff8699 100644
--- a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c
+++ b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c
@@ -981,6 +981,7 @@ static int dvb_frontend_ioctl(struct inode *inode, struct file *file,
case FE_SET_FRONTEND_TUNE_MODE:
fepriv->tune_mode_flags = (unsigned long) parg;
+ err = 0;
break;
};