提交 0b915e74 编写于 作者: O Oliver Endriss 提交者: Mauro Carvalho Chehab

V4L/DVB (8074): av7110: OSD transfers should not be interrupted

OSD transfers should not be interrupted.
Signed-off-by: NOliver Endriss <o.endriss@gmx.de>
Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
上级 edabaffc
...@@ -854,10 +854,8 @@ static osd_raw_window_t bpp2bit[8] = { ...@@ -854,10 +854,8 @@ static osd_raw_window_t bpp2bit[8] = {
static inline int WaitUntilBmpLoaded(struct av7110 *av7110) static inline int WaitUntilBmpLoaded(struct av7110 *av7110)
{ {
int ret = wait_event_interruptible_timeout(av7110->bmpq, int ret = wait_event_timeout(av7110->bmpq,
av7110->bmp_state != BMP_LOADING, 10*HZ); av7110->bmp_state != BMP_LOADING, 10*HZ);
if (ret == -ERESTARTSYS)
return ret;
if (ret == 0) { if (ret == 0) {
printk("dvb-ttpci: warning: timeout waiting in LoadBitmap: %d, %d\n", printk("dvb-ttpci: warning: timeout waiting in LoadBitmap: %d, %d\n",
ret, av7110->bmp_state); ret, av7110->bmp_state);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册