summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/firesat/firesat_1394.c
diff options
context:
space:
mode:
authorHenrik Kurelid <henrik@kurelid.se>2008-08-24 15:20:07 +0200
committerStefan Richter <stefanr@s5r6.in-berlin.de>2009-02-24 14:51:26 +0100
commit81c67b7f82769292a86b802590be5879413f9278 (patch)
treeeebc9d27ecda8f14a48a8195e84057717fcfd89e /drivers/media/dvb/firesat/firesat_1394.c
parentdf4846c35247a0d038c5359d502cddd59d04bc40 (diff)
firesat: avc resend
- Add resending of AVC message to the card if no answer is received - Replace the homebrewed event_wait function with a standard wait queue - Clean up of log/error messages - Increase debug level of avc communication Signed-off-by: Henrik Kurelid <henrik@kurelid.se> Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/media/dvb/firesat/firesat_1394.c')
-rw-r--r--drivers/media/dvb/firesat/firesat_1394.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/dvb/firesat/firesat_1394.c b/drivers/media/dvb/firesat/firesat_1394.c
index 04ad31666fb..b19e59416b5 100644
--- a/drivers/media/dvb/firesat/firesat_1394.c
+++ b/drivers/media/dvb/firesat/firesat_1394.c
@@ -208,6 +208,7 @@ static int firesat_probe(struct device *dev)
}
sema_init(&firesat->avc_sem, 1);
+ init_waitqueue_head(&firesat->avc_wait);
atomic_set(&firesat->avc_reply_received, 1);
sema_init(&firesat->demux_sem, 1);
atomic_set(&firesat->reschedule_remotecontrol, 0);