diff options
-rw-r--r-- | drivers/media/dvb/mantis/mantis_hif.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/dvb/mantis/mantis_hif.c b/drivers/media/dvb/mantis/mantis_hif.c index 621dce3eb5d6..a2359f7e1465 100644 --- a/drivers/media/dvb/mantis/mantis_hif.c +++ b/drivers/media/dvb/mantis/mantis_hif.c | |||
@@ -44,9 +44,9 @@ static int mantis_hif_sbuf_opdone_wait(struct mantis_ca *ca) | |||
44 | struct mantis_pci *mantis = ca->ca_priv; | 44 | struct mantis_pci *mantis = ca->ca_priv; |
45 | int rc = 0; | 45 | int rc = 0; |
46 | 46 | ||
47 | if (wait_event_interruptible_timeout(ca->hif_opdone_wq, | 47 | if (wait_event_timeout(ca->hif_opdone_wq, |
48 | ca->hif_event & MANTIS_SBUF_OPDONE, | 48 | ca->hif_event & MANTIS_SBUF_OPDONE, |
49 | msecs_to_jiffies(500)) == -ERESTARTSYS) { | 49 | msecs_to_jiffies(500)) == -ERESTARTSYS) { |
50 | 50 | ||
51 | dprintk(verbose, MANTIS_ERROR, 1, "Adapter(%d) Slot(0): Smart buffer operation timeout !", mantis->num); | 51 | dprintk(verbose, MANTIS_ERROR, 1, "Adapter(%d) Slot(0): Smart buffer operation timeout !", mantis->num); |
52 | rc = -EREMOTEIO; | 52 | rc = -EREMOTEIO; |