V4L/DVB: xc3028: fix regression in firmware loading time
authorDevin Heitmueller <dheitmueller@kernellabs.com>
Tue, 19 Jan 2010 04:38:45 +0000 (01:38 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 18 May 2010 03:43:45 +0000 (00:43 -0300)
commit70ca3c4b9a722b24626ffe81bdfd7d1a6824f175
tree88252bb55dea8cca92df42b8708244cc238107b4
parent833724afc0e60fe94da64beb9e1afd390a9948a4
V4L/DVB: xc3028: fix regression in firmware loading time

Fix a regression in the firmware loading time where it went from 1080 ms to
4700 ms.  This was noticed when the em28xx based HVR-950 took noticably longer
to load the driver.

Regression introduced in hg 12824.  The developer added an msleep() call with
an argument based on a newly introduced xc3028_ctrl field, which is left
initialized to zero for pretty much every board that is currently supported.

Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/common/tuners/tuner-xc2028.c