summaryrefslogtreecommitdiff
path: root/linux/drivers/media
diff options
context:
space:
mode:
authorDaniel Mack <devnull@localhost>2004-10-15 16:39:58 +0000
committerDaniel Mack <devnull@localhost>2004-10-15 16:39:58 +0000
commitff260c9222fd6b1e0a63a96fff06a6111236aff0 (patch)
tree9cb4cf12010e6e60a3625bda36a26150f3a9d551 /linux/drivers/media
parent490fdf5ac51714e001b9f8e6403d6d4f8109ddd7 (diff)
downloadmediapointer-dvb-s2-ff260c9222fd6b1e0a63a96fff06a6111236aff0.tar.gz
mediapointer-dvb-s2-ff260c9222fd6b1e0a63a96fff06a6111236aff0.tar.bz2
fixed sleep mode logic
Diffstat (limited to 'linux/drivers/media')
-rw-r--r--linux/drivers/media/dvb/cinergyT2/cinergyT2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/cinergyT2/cinergyT2.c b/linux/drivers/media/dvb/cinergyT2/cinergyT2.c
index e0d8e5f6a..fb567c681 100644
--- a/linux/drivers/media/dvb/cinergyT2/cinergyT2.c
+++ b/linux/drivers/media/dvb/cinergyT2/cinergyT2.c
@@ -334,7 +334,7 @@ int cinergyt2_start_feed(struct dvb_demux_feed *dvbdmxfeed)
if (cinergyt2->streaming == 0) {
- cinergyt2_control_sleep_mode(cinergyt2, 1);
+ cinergyt2_control_sleep_mode(cinergyt2, 0);
if (cinergyt2_start_stream_xfer (cinergyt2) == 0)
cinergyt2_control_stream_transfer (cinergyt2, 1);
}
@@ -354,7 +354,7 @@ int cinergyt2_stop_feed(struct dvb_demux_feed *dvbdmxfeed)
if (--cinergyt2->streaming == 0) {
cinergyt2_control_stream_transfer(cinergyt2, 0);
cinergyt2_stop_stream_xfer(cinergyt2);
- cinergyt2_control_sleep_mode(cinergyt2, 0);
+ cinergyt2_control_sleep_mode(cinergyt2, 1);
}
return 0;