summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends/grundig_29504-491.c
diff options
context:
space:
mode:
authorMichael Hunold <devnull@localhost>2003-04-25 08:21:35 +0000
committerMichael Hunold <devnull@localhost>2003-04-25 08:21:35 +0000
commitcb61a9ffb7f22d9d73d7263bf84142941b336050 (patch)
tree15cf8cb24554e4a1af38ecf999892bf84e78cd0f /linux/drivers/media/dvb/frontends/grundig_29504-491.c
parentf7e91da79a7d08e9aa8d555b7a6e96ca6548b93e (diff)
downloadmediapointer-dvb-s2-cb61a9ffb7f22d9d73d7263bf84142941b336050.tar.gz
mediapointer-dvb-s2-cb61a9ffb7f22d9d73d7263bf84142941b336050.tar.bz2
Lots of cosmetic changes in order to sync the CVS with
the version that made it into the 2.5.68 kernel. - remove unnecessary c++-style comments - fixed some line breaks and the style function headers are formatted: please don't argue with me about these changes, I don't care how they are formatted. - remove newline breaks between memory allocation and the return value check Some more interesing stuff: - remove ddelay() functions completly, replace with set_current_state() and manual schedule_timeout() calls. - made some init data for the mxb driver static and global (patch already send to lkml) Some crucial changes: - inherit some return values Mr. Alan Cox has changed -- please review
Diffstat (limited to 'linux/drivers/media/dvb/frontends/grundig_29504-491.c')
-rw-r--r--linux/drivers/media/dvb/frontends/grundig_29504-491.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/frontends/grundig_29504-491.c b/linux/drivers/media/dvb/frontends/grundig_29504-491.c
index 5db49c1e7..386c9a590 100644
--- a/linux/drivers/media/dvb/frontends/grundig_29504-491.c
+++ b/linux/drivers/media/dvb/frontends/grundig_29504-491.c
@@ -249,7 +249,8 @@ void tda8083_wait_diseqc_fifo (struct dvb_i2c_bus *i2c, int timeout)
while (jiffies - start < timeout &&
!(tda8083_readreg(i2c, 0x02) & 0x80))
{
- ddelay(50);
+ set_current_state(TASK_INTERRUPTIBLE);
+ schedule_timeout (5);
};
}