V4L/DVB (8098): xc5000: add module option to load firmware during driver attach
authorMichael Krufky <mkrufky@linuxtv.org>
Sun, 22 Jun 2008 01:13:42 +0000 (22:13 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 20 Jul 2008 10:11:40 +0000 (07:11 -0300)
commit7dc1b8844eb3e0a91911f20736db87f4876e14b4
treec7d92c8dd6b45b7daa3daaa91a645201d302fac9
parentfa1035997cbba4c348a88f8b94eb135222aaba12
V4L/DVB (8098): xc5000: add module option to load firmware during driver attach

The xc5000 firmware download process can be slow on certain devices.

Add a module option, "init_fw" to perform the firmware download during
xc5000_attach(), which would get the firmware download over with well
before any tune request is made.

When this option is enabled, it will reduce the time it takes to get a
signal lock during the first tune after driver load, but will add a few
seconds to the driver initialization.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/common/tuners/xc5000.c