diff options
author | Johannes Stezenbach <devnull@localhost> | 2005-05-05 20:39:05 +0000 |
---|---|---|
committer | Johannes Stezenbach <devnull@localhost> | 2005-05-05 20:39:05 +0000 |
commit | 8452e387b8259b5039dff667df7b690fc6e038d6 (patch) | |
tree | b227332dc2f505c72e31a69c778e215aa8a73ffb /linux/drivers/media/dvb/frontends/or51132.c | |
parent | 5ae2dd3d81b98e804e5af9abcab009d82bbb0a30 (diff) | |
download | mediapointer-dvb-s2-8452e387b8259b5039dff667df7b690fc6e038d6.tar.gz mediapointer-dvb-s2-8452e387b8259b5039dff667df7b690fc6e038d6.tar.bz2 |
sync back cleanups from kernel (whitespace and printk format)
Diffstat (limited to 'linux/drivers/media/dvb/frontends/or51132.c')
-rw-r--r-- | linux/drivers/media/dvb/frontends/or51132.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/linux/drivers/media/dvb/frontends/or51132.c b/linux/drivers/media/dvb/frontends/or51132.c index 49dda50ec..cc0a77c79 100644 --- a/linux/drivers/media/dvb/frontends/or51132.c +++ b/linux/drivers/media/dvb/frontends/or51132.c @@ -58,7 +58,7 @@ struct or51132_state const struct or51132_config* config; struct dvb_frontend frontend; - + /* Demodulator private data */ fe_modulation_t current_modulation; @@ -138,7 +138,7 @@ static int or51132_load_firmware (struct dvb_frontend* fe, const struct firmware return ret; } - /* Wait at least 5 msec */ + /* Wait at least 5 msec */ msleep(20); /* 10ms */ if ((ret = i2c_writebytes(state,state->config->demod_address, @@ -190,7 +190,7 @@ static int or51132_load_firmware (struct dvb_frontend* fe, const struct firmware get_ver_buf[4] = i+1; if ((ret = i2c_readbytes(state,state->config->demod_address, &rec_buf[i*2],2))) { - printk(KERN_WARNING + printk(KERN_WARNING "or51132: load_firmware error d - %d\n",i); return ret; } @@ -326,7 +326,7 @@ static int or51132_set_parameters(struct dvb_frontend* fe, dprintk("set_parameters VSB MODE\n"); printk("or51132: Waiting for firmware upload(%s)...\n", OR51132_VSB_FIRMWARE); - ret = request_firmware(&fw, OR51132_VSB_FIRMWARE, + ret = request_firmware(&fw, OR51132_VSB_FIRMWARE, &state->i2c->dev); if (ret){ printk(KERN_WARNING "or51132: No firmware up" @@ -342,7 +342,7 @@ static int or51132_set_parameters(struct dvb_frontend* fe, dprintk("set_parameters QAM MODE\n"); printk("or51132: Waiting for firmware upload(%s)...\n", OR51132_QAM_FIRMWARE); - ret = request_firmware(&fw, OR51132_QAM_FIRMWARE, + ret = request_firmware(&fw, OR51132_QAM_FIRMWARE, &state->i2c->dev); if (ret){ printk(KERN_WARNING "or51132: No firmware up" @@ -379,10 +379,10 @@ static int or51132_set_parameters(struct dvb_frontend* fe, if (i2c_writebytes(state, state->config->pll_address ,buf, 4)) printk(KERN_WARNING "or51132: set_parameters error " "writing to tuner\n"); - + /* Set to current mode */ or51132_setmode(fe); - + /* Update current frequency */ state->current_frequency = param->frequency; } |