From d83988058cba594ac2011a4ca0c50097bd24c2de Mon Sep 17 00:00:00 2001 From: Michael Krufky Date: Tue, 7 Feb 2012 01:16:27 -0300 Subject: [PATCH] [media] xc5000: add XC5000C_DEFAULT_FIRMWARE: dvb-fe-xc5000c-41.024.5-31875.fw Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab --- drivers/media/common/tuners/xc5000.c | 5 +++++ drivers/media/common/tuners/xc5000.h | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/drivers/media/common/tuners/xc5000.c b/drivers/media/common/tuners/xc5000.c index 16c3f75816c4..5af309cddd5e 100644 --- a/drivers/media/common/tuners/xc5000.c +++ b/drivers/media/common/tuners/xc5000.c @@ -208,6 +208,11 @@ struct xc5000_fw_cfg xc5000a_1_6_114 = { .size = 12401, }; +struct xc5000_fw_cfg xc5000c_41_024_5_31875 = { + .name = "dvb-fe-xc5000c-41.024.5-31875.fw", + .size = 16503, +}; + static int xc_load_fw_and_init_tuner(struct dvb_frontend *fe); static int xc5000_is_firmware_loaded(struct dvb_frontend *fe); static int xc5000_readreg(struct xc5000_priv *priv, u16 reg, u16 *val); diff --git a/drivers/media/common/tuners/xc5000.h b/drivers/media/common/tuners/xc5000.h index 06d116266d81..471f3f8ef769 100644 --- a/drivers/media/common/tuners/xc5000.h +++ b/drivers/media/common/tuners/xc5000.h @@ -33,10 +33,13 @@ struct xc5000_fw_cfg { }; extern struct xc5000_fw_cfg xc5000a_1_6_114; +extern struct xc5000_fw_cfg xc5000c_41_024_5_31875; -#define XC5000_FW_A_1_6_114 &xc5000a_1_6_114 +#define XC5000_FW_A_1_6_114 &xc5000a_1_6_114 +#define XC5000_FW_C_41_024_5_31875 &xc5000c_41_024_5_31875 #define XC5000_DEFAULT_FIRMWARE XC5000_FW_A_1_6_114 +#define XC5000C_DEFAULT_FIRMWARE XC5000_FW_C_41_024_5_31875 struct xc5000_config { u8 i2c_address; -- 2.34.1