From: Michael Krufky Date: Tue, 7 Feb 2012 04:16:27 +0000 (-0300) Subject: [media] xc5000: add XC5000C_DEFAULT_FIRMWARE: dvb-fe-xc5000c-41.024.5-31875.fw X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d83988058cba594ac2011a4ca0c50097bd24c2de;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git [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 --- 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;