aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/bt8xx/dst.c
diff options
context:
space:
mode:
authorJohannes Stezenbach <js@linuxtv.org>2005-05-17 00:54:45 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-17 10:59:34 -0400
commit4a2cc1269b6c1404e6e882cee604d55c90927467 (patch)
tree0035cedefc9f64acb8ca584482a5ba4f130f1313 /drivers/media/dvb/bt8xx/dst.c
parentb46dd4456f87fbad634d9a63d607fc54e4381cb4 (diff)
[PATCH] dvb: DST: misc. fixes
removed unused module parameter session removed unnecesary delay for FTA cards (Manu Abraham) Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/media/dvb/bt8xx/dst.c')
-rw-r--r--drivers/media/dvb/bt8xx/dst.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/drivers/media/dvb/bt8xx/dst.c b/drivers/media/dvb/bt8xx/dst.c
index fc74f4097850..d047e349d706 100644
--- a/drivers/media/dvb/bt8xx/dst.c
+++ b/drivers/media/dvb/bt8xx/dst.c
@@ -44,13 +44,7 @@ MODULE_PARM_DESC(debug, "debug messages, default is 0 (yes)");
44 44
45static unsigned int dst_addons; 45static unsigned int dst_addons;
46module_param(dst_addons, int, 0644); 46module_param(dst_addons, int, 0644);
47MODULE_PARM_DESC(dst_addons, "CA daughterboard, default is 0 (no)"); 47MODULE_PARM_DESC(dst_addons, "CA daughterboard, default is 0 (No addons)");
48
49static unsigned int new_fw;
50module_param(new_fw, int, 0644);
51MODULE_PARM_DESC(new_fw, "Support for the new interface firmware, default 0");
52
53
54 48
55#define dprintk if (debug) printk 49#define dprintk if (debug) printk
56 50
@@ -787,7 +781,11 @@ static int dst_probe(struct dst_state *state)
787 dprintk("%s: RDC 8820 RESET Failed.\n", __FUNCTION__); 781 dprintk("%s: RDC 8820 RESET Failed.\n", __FUNCTION__);
788 return -1; 782 return -1;
789 } 783 }
790 msleep(4000); 784 if (dst_addons & DST_TYPE_HAS_CA)
785 msleep(4000);
786 else
787 msleep(100);
788
791 if ((dst_comm_init(state)) < 0) { 789 if ((dst_comm_init(state)) < 0) {
792 dprintk("%s: DST Initialization Failed.\n", __FUNCTION__); 790 dprintk("%s: DST Initialization Failed.\n", __FUNCTION__);
793 return -1; 791 return -1;