提交 2cf801e3 编写于 作者: S Steven Toth 提交者: Mauro Carvalho Chehab

V4L/DVB (8990): S2API: DVB-S/S2 voltage selection bug fix

Thanks to Hans Werner for finding the problem.
Signed-off-by: NSteven Toth <stoth@linuxtv.org>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 af832623
...@@ -68,3 +68,4 @@ ...@@ -68,3 +68,4 @@
67 -> Kworld PlusTV HD PCI 120 (ATSC 120) [17de:08c1] 67 -> Kworld PlusTV HD PCI 120 (ATSC 120) [17de:08c1]
68 -> Hauppauge WinTV-HVR4000 DVB-S/S2/T/Hybrid [0070:6900,0070:6904,0070:6902] 68 -> Hauppauge WinTV-HVR4000 DVB-S/S2/T/Hybrid [0070:6900,0070:6904,0070:6902]
69 -> Hauppauge WinTV-HVR4000(Lite) DVB-S/S2 [0070:6905,0070:6906] 69 -> Hauppauge WinTV-HVR4000(Lite) DVB-S/S2 [0070:6905,0070:6906]
70 -> TeVii S460 DVB-S/S2 [D460:9022]
...@@ -1290,7 +1290,7 @@ int tv_property_process(struct dvb_frontend *fe, tv_property_t *tvp, ...@@ -1290,7 +1290,7 @@ int tv_property_process(struct dvb_frontend *fe, tv_property_t *tvp,
case TV_SET_VOLTAGE: case TV_SET_VOLTAGE:
fe->tv_property_cache.voltage = tvp->u.data; fe->tv_property_cache.voltage = tvp->u.data;
r = dvb_frontend_ioctl_legacy(inode, file, FE_SET_VOLTAGE, r = dvb_frontend_ioctl_legacy(inode, file, FE_SET_VOLTAGE,
&fe->tv_property_cache.voltage); (void *)fe->tv_property_cache.voltage);
break; break;
case TV_GET_VOLTAGE: case TV_GET_VOLTAGE:
tvp->u.data = fe->tv_property_cache.voltage; tvp->u.data = fe->tv_property_cache.voltage;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册