]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5df33ed2f5dc8890a4069dc05f4ea4971df4e763
tree5ffd7c5593eded215577a33b7f021626fcdeeab9
parent82ba26076871843da9e35f87255f65859d4023c8
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