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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Monday, October 13, 2008 - 3:13 pm

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=2cf801...
Commit:     2cf801e3e38f649d25fe3b4e236976f45e26289f
Parent:     af832623c2a44525df6e4ae0142fb0385479546c
Author:     Steven Toth <stoth@linuxtv.org>
AuthorDate: Mon Sep 8 12:07:06 2008 -0300
Committer:  Mauro Carvalho Chehab <mchehab@redhat.com>
CommitDate: Sun Oct 12 09:37:04 2008 -0200

    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>
---
 Documentation/video4linux/CARDLIST.cx88   |    1 +
 drivers/media/dvb/dvb-core/dvb_frontend.c |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/Documentation/video4linux/CARDLIST.cx88 b/Documentation/video4linux/CARDLIST.cx88
index c95a2fb..b51485c 100644
--- a/Documentation/video4linux/CARDLIST.cx88
+++ b/Documentation/video4linux/CARDLIST.cx88
@@ -68,3 +68,4 @@
  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]
  69 -> Hauppauge WinTV-HVR4000(Lite) DVB-S/S2              [0070:6905,0070:6906]
+ 70 -> TeVii S460 DVB-S/S2                                 [D460:9022]
diff --git a/drivers/media/dvb/dvb-core/dvb_frontend.c b/drivers/media/dvb/dvb-core/dvb_frontend.c
index 86af06c..620c620 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,
 	case TV_SET_VOLTAGE:
 		fe->tv_property_cache.voltage = tvp->u.data;
 		r = dvb_frontend_ioctl_legacy(inode, file, FE_SET_VOLTAGE,
-			&fe->tv_property_cache.voltage);
+			(void *)fe->tv_property_cache.voltage);
 		break;
 	case TV_GET_VOLTAGE:
 		tvp->u.data = fe->tv_property_cache.voltage;
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
V4L/DVB (8990): S2API: DVB-S/S2 voltage selection bug fix, Linux Kernel Mailing ..., (Mon Oct 13, 3:13 pm)