aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb
diff options
context:
space:
mode:
authorSteven Toth <stoth@linuxtv.org>2008-09-08 11:07:06 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-10-12 07:37:04 -0400
commit2cf801e3e38f649d25fe3b4e236976f45e26289f (patch)
treedbb926e7798792fc980eb2daf561d71b740f1fea /drivers/media/dvb
parentaf832623c2a44525df6e4ae0142fb0385479546c (diff)
V4L/DVB (8990): S2API: DVB-S/S2 voltage selection bug fix
Thanks to Hans Werner for finding the problem. Signed-off-by: Steven Toth <stoth@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb')
-rw-r--r--drivers/media/dvb/dvb-core/dvb_frontend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/dvb-core/dvb_frontend.c b/drivers/media/dvb/dvb-core/dvb_frontend.c
index 86af06cf578c..620c62084029 100644
--- a/drivers/media/dvb/dvb-core/dvb_frontend.c
+++ b/drivers/media/dvb/dvb-core/dvb_frontend.c
@@ -1290,7 +1290,7 @@ int tv_property_process(struct dvb_frontend *fe, tv_property_t *tvp,
1290 case TV_SET_VOLTAGE: 1290 case TV_SET_VOLTAGE:
1291 fe->tv_property_cache.voltage = tvp->u.data; 1291 fe->tv_property_cache.voltage = tvp->u.data;
1292 r = dvb_frontend_ioctl_legacy(inode, file, FE_SET_VOLTAGE, 1292 r = dvb_frontend_ioctl_legacy(inode, file, FE_SET_VOLTAGE,
1293 &fe->tv_property_cache.voltage); 1293 (void *)fe->tv_property_cache.voltage);
1294 break; 1294 break;
1295 case TV_GET_VOLTAGE: 1295 case TV_GET_VOLTAGE:
1296 tvp->u.data = fe->tv_property_cache.voltage; 1296 tvp->u.data = fe->tv_property_cache.voltage;