V4L/DVB (12613): cx25840: fix determining the firmware name
authorHans Verkuil <hverkuil@xs4all.nl>
Mon, 31 Aug 2009 20:57:52 +0000 (17:57 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 12 Sep 2009 15:19:52 +0000 (12:19 -0300)
commit8d81ae243158b0ac8b2c1646d5adcbdf26a260bc
tree9205ec200ec17a4a32c2a6f5dc043dd43446afb5
parenta65f3159244f27ce6ff84dd1bb641079acdbd396
V4L/DVB (12613): cx25840: fix determining the firmware name

Depending on the model there are three different firmwares to choose from.
Unfortunately if a cx23885 is loaded first, then the global firmware name
is overwritten with that firmware and if ivtv is loaded next, then it
tries to load the wrong firmware. In addition, the original approach would
also overwrite any firmware that the user specified explicitly.

Cc: Jarod Wilson <jarod@wilsonet.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx25840/cx25840-firmware.c