mirror of
https://github.com/torvalds/linux.git
synced 2024-12-04 18:13:04 +00:00
V4L/DVB (8074): av7110: OSD transfers should not be interrupted
OSD transfers should not be interrupted. Signed-off-by: Oliver Endriss <o.endriss@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
parent
edabaffc7e
commit
0b915e74ac
@ -854,10 +854,8 @@ static osd_raw_window_t bpp2bit[8] = {
|
||||
|
||||
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);
|
||||
if (ret == -ERESTARTSYS)
|
||||
return ret;
|
||||
if (ret == 0) {
|
||||
printk("dvb-ttpci: warning: timeout waiting in LoadBitmap: %d, %d\n",
|
||||
ret, av7110->bmp_state);
|
||||
|
Loading…
Reference in New Issue
Block a user