Skip to content

Commit

Permalink
[media] xc5000: add XC5000C_DEFAULT_FIRMWARE: dvb-fe-xc5000c-41.024.5…
Browse files Browse the repository at this point in the history
…-31875.fw

Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Michael Krufky authored and Mauro Carvalho Chehab committed Feb 14, 2012
1 parent 76efb0b commit d839880
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions drivers/media/common/tuners/xc5000.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
5 changes: 4 additions & 1 deletion drivers/media/common/tuners/xc5000.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d839880

Please sign in to comment.