diff options
-rw-r--r-- | drivers/media/dvb/ttpci/av7110_hw.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/media/dvb/ttpci/av7110_hw.c b/drivers/media/dvb/ttpci/av7110_hw.c index c99936c4772a..3a3f5279e927 100644 --- a/drivers/media/dvb/ttpci/av7110_hw.c +++ b/drivers/media/dvb/ttpci/av7110_hw.c | |||
@@ -854,10 +854,8 @@ static osd_raw_window_t bpp2bit[8] = { | |||
854 | 854 | ||
855 | static inline int WaitUntilBmpLoaded(struct av7110 *av7110) | 855 | static inline int WaitUntilBmpLoaded(struct av7110 *av7110) |
856 | { | 856 | { |
857 | int ret = wait_event_interruptible_timeout(av7110->bmpq, | 857 | int ret = wait_event_timeout(av7110->bmpq, |
858 | av7110->bmp_state != BMP_LOADING, 10*HZ); | 858 | av7110->bmp_state != BMP_LOADING, 10*HZ); |
859 | if (ret == -ERESTARTSYS) | ||
860 | return ret; | ||
861 | if (ret == 0) { | 859 | if (ret == 0) { |
862 | printk("dvb-ttpci: warning: timeout waiting in LoadBitmap: %d, %d\n", | 860 | printk("dvb-ttpci: warning: timeout waiting in LoadBitmap: %d, %d\n", |
863 | ret, av7110->bmp_state); | 861 | ret, av7110->bmp_state); |