diff options
author | Michael Krufky <devnull@localhost> | 2005-08-09 00:00:40 +0000 |
---|---|---|
committer | Michael Krufky <devnull@localhost> | 2005-08-09 00:00:40 +0000 |
commit | 1eec170d392cefcb7b5121ddc79140653b04ff9f (patch) | |
tree | a5fb2a8d3ab5281da1493b93c0cbcbcfe5f857d1 /linux/drivers/media/dvb/frontends/lgdt330x.c | |
parent | 3c9d74d9c74915f0d3c4f620a449dff03d5e23fc (diff) | |
download | mediapointer-dvb-s2-1eec170d392cefcb7b5121ddc79140653b04ff9f.tar.gz mediapointer-dvb-s2-1eec170d392cefcb7b5121ddc79140653b04ff9f.tar.bz2 |
removed some trailing whitespace
Diffstat (limited to 'linux/drivers/media/dvb/frontends/lgdt330x.c')
-rw-r--r-- | linux/drivers/media/dvb/frontends/lgdt330x.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/linux/drivers/media/dvb/frontends/lgdt330x.c b/linux/drivers/media/dvb/frontends/lgdt330x.c index 133329cf3..a7a4bed2a 100644 --- a/linux/drivers/media/dvb/frontends/lgdt330x.c +++ b/linux/drivers/media/dvb/frontends/lgdt330x.c @@ -74,7 +74,7 @@ static int i2c_write_demod_bytes (struct lgdt330x_state* state, { struct i2c_msg msg = { .addr = state->config->demod_address, - .flags = 0, + .flags = 0, .buf = buf, .len = 2 }; int i; @@ -177,7 +177,7 @@ static int i2c_write_ntsc_demod (struct lgdt330x_state* state, u8 buf[2]) { struct i2c_msg msg = { .addr = 0x43, - .flags = 0, + .flags = 0, .buf = buf, .len = 2 }; int err; @@ -260,12 +260,12 @@ static int lgdt330x_init(struct dvb_frontend* fe) switch (state->config->demod_chip) { case LGDT3302: chip_name = "LGDT3302"; - err = i2c_write_demod_bytes(state, lgdt3302_init_data, + err = i2c_write_demod_bytes(state, lgdt3302_init_data, sizeof(lgdt3302_init_data)); break; case LGDT3303: chip_name = "LGDT3303"; - err = i2c_write_demod_bytes(state, lgdt3303_init_data, + err = i2c_write_demod_bytes(state, lgdt3303_init_data, sizeof(lgdt3303_init_data)); #ifdef MUTE_TDA9887 fiddle_with_ntsc_if_demod(state); @@ -304,7 +304,7 @@ static int lgdt330x_read_ucblocks(struct dvb_frontend* fe, u32* ucblocks) buf, sizeof(buf)); break; default: - printk(KERN_WARNING + printk(KERN_WARNING "Only LGDT3302 and LGDT3303 are supported chips.\n"); err = -ENODEV; } @@ -364,7 +364,7 @@ static int lgdt330x_set_parameters(struct dvb_frontend* fe, state->config->pll_rf_set(fe, 1); if (state->config->demod_chip == LGDT3303) { - err = i2c_write_demod_bytes(state, lgdt3303_8vsb_44_data, + err = i2c_write_demod_bytes(state, lgdt3303_8vsb_44_data, sizeof(lgdt3303_8vsb_44_data)); } break; @@ -380,7 +380,7 @@ static int lgdt330x_set_parameters(struct dvb_frontend* fe, state->config->pll_rf_set(fe, 0); if (state->config->demod_chip == LGDT3303) { - err = i2c_write_demod_bytes(state, lgdt3303_qam_data, + err = i2c_write_demod_bytes(state, lgdt3303_qam_data, sizeof(lgdt3303_qam_data)); } break; @@ -396,7 +396,7 @@ static int lgdt330x_set_parameters(struct dvb_frontend* fe, state->config->pll_rf_set(fe, 0); if (state->config->demod_chip == LGDT3303) { - err = i2c_write_demod_bytes(state, lgdt3303_qam_data, + err = i2c_write_demod_bytes(state, lgdt3303_qam_data, sizeof(lgdt3303_qam_data)); } break; @@ -408,7 +408,7 @@ static int lgdt330x_set_parameters(struct dvb_frontend* fe, * select serial or parallel MPEG harware interface * Serial: 0x04 for LGDT3302 or 0x40 for LGDT3303 * Parallel: 0x00 - */ + */ top_ctrl_cfg[1] |= state->config->serial_mpeg; /* Select the requested mode */ @@ -766,7 +766,7 @@ struct dvb_frontend* lgdt330x_attach(const struct lgdt330x_config* config, default: goto error; } - + /* Verify communication with demod chip */ if (i2c_read_demod_bytes(state, 2, buf, 1)) goto error; |