]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (11799): xc5000: don't load firmware until a tuning request is made
authorDevin Heitmueller <dheitmueller@kernellabs.com>
Tue, 28 Apr 2009 17:07:14 +0000 (14:07 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 16 Jun 2009 21:21:06 +0000 (18:21 -0300)
commit9db09efcd036d437a00579cbb26002920bff74a2
tree7fd753cf02ad44ebd982a1003caf4f922e832d0e
parent36dccd545df0f084e85d4edd2f9bb22e76d29aa8
V4L/DVB (11799): xc5000: don't load firmware until a tuning request is made

Defer loading of the xc5000 firmware until it is actually needed.  This helps
on distros that have hald, which results in the device not being available
for use for around ten seconds in cases where the i2c bus is slow (such as
the HVR-950Q).  Also, the firmware load isn't really useful since we
immediately put the device to sleep afterward, which means a firmware reload
will be required anyway.

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