V4L/DVB: ivtv: Adjust msleep() delays used to prevent tinny audio and PCI bus hang
authorAndy Walls <awalls@radix.net>
Mon, 18 Jan 2010 00:12:24 +0000 (21:12 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 26 Feb 2010 18:10:41 +0000 (15:10 -0300)
commit95480f2773588eabb35ac9354d068b068ef11e70
tree5ffd7c5593eded215577a33b7f021626fcdeeab9
parent3ccc646b56a3f03029a259c6a8affd9cecc6020e
V4L/DVB: ivtv: Adjust msleep() delays used to prevent tinny audio and PCI bus hang

Martin Dauskardt <martin.dauskardt@gmx.de> has done extensive testing on what
values can be used and and concluded that only 300 ms total is required to
avoid bad video effects such as occasional black screen and short sync
disturbances.  Furthermore he determined how this 300 ms was split between
the two msleep()s did matter very much, so he suggested 150ms/150ms as one
acceptable alternative that is implemented here.

Many thanks go to Martin.

Tested-by: Martin Dauskardt <martin.dauskardt@gmx.de>
Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/ivtv/ivtv-streams.c