projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
591b631
)
V4L/DVB (4275): The FE_SET_FRONTEND_TUNE_MODE ioctl always returns EOPNOTSUPP
author
Trent Piepho
<
[email protected]
>
Thu, 29 Jun 2006 16:16:04 +0000
(13:16 -0300)
committer
Mauro Carvalho Chehab
<
[email protected]
>
Fri, 30 Jun 2006 18:59:37 +0000
(15:59 -0300)
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 <
[email protected]
>
Signed-off-by: Andrew de Quincey <
[email protected]
>
Signed-off-by: Mauro Carvalho Chehab <
[email protected]
>
drivers/media/dvb/dvb-core/dvb_frontend.c
patch
|
blob
|
history
diff --git
a/drivers/media/dvb/dvb-core/dvb_frontend.c
b/drivers/media/dvb/dvb-core/dvb_frontend.c
index 5e8bb41a088b56c59bcb7f16c8f36264e1d54374..1dc7d29a3bb90759f9f97956df26285e9c537035 100644
(file)
--- a/
drivers/media/dvb/dvb-core/dvb_frontend.c
+++ b/
drivers/media/dvb/dvb-core/dvb_frontend.c
@@
-975,6
+975,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;
};