Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] DXR-Plugin: Patch of driver fails?



Hi everyone,

I'm trying to install the DXR3-Plugin as described in the INSTALL file.

Patching the em8300 driver works fine except for one hunk in em8300_ioctl.c:



***************
*** 101,107 ****
                write_ucregister(Q_IrqMask, em->irqmask);

                /* go to sleep */
!               interruptible_sleep_on(&em->vbi_wait);
                /* check if signal arrived */
                if (signal_pending(current)) {
                        return -EINTR;
--- 102,111 ----
                write_ucregister(Q_IrqMask, em->irqmask);

                /* go to sleep */
!               // interruptible_sleep_on(&em->vbi_wait);
!       interruptible_sleep_on_timeout(&em->vbi_wait, HZ);
!               if (jiffies - safe_jiff >= HZ) return -EINTR;
!
                /* check if signal arrived */
                if (signal_pending(current)) {
                        return -EINTR;



I tried to resolve this by hand but can't even find this "sleep" passage anywhere.

Can someone help me out on this please?


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index