aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/video/tuner-core.c
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@kernellabs.com>2012-02-08 14:57:39 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-02-14 17:22:32 -0200
commit6fab81dfdc7b48c2e30ab05e9b30afb0c418bbbe (patch)
tree631b431735204d07bd2d683be8a1e6c2f8de3129 /drivers/media/video/tuner-core.c
parentddea427fb3e64d817d4432e5efd2abbfc4ddb02e (diff)
[media] xc5000: drivers should specify chip revision rather than firmware
Specify chip revision at attach time rather than a firmware image. This is a better way to ensure that the correct firmware is loaded for the correct revision of the chip. Signed-off-by: Michael Krufky <mkrufky@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/tuner-core.c')
-rw-r--r--drivers/media/video/tuner-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/tuner-core.c b/drivers/media/video/tuner-core.c
index 0628a0ae9da..89a123dee14 100644
--- a/drivers/media/video/tuner-core.c
+++ b/drivers/media/video/tuner-core.c
@@ -386,7 +386,7 @@ static void set_type(struct i2c_client *c, unsigned int type,
.i2c_address = t->i2c->addr,
/* if_khz will be set at dvb_attach() */
.if_khz = 0,
- .fw = XC5000C_DEFAULT_FIRMWARE,
+ .chip_id = XC5000C,
};
if (!dvb_attach(xc5000_attach,