Skip to content

Commit

Permalink
V4L/DVB (9444): Initialize post process events to NULL
Browse files Browse the repository at this point in the history
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Manu Abraham authored and Mauro Carvalho Chehab committed Dec 29, 2008
1 parent 763fbaf commit 043a68b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion drivers/media/dvb/frontends/stb0899_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ static void stb0899_set_mclk(struct stb0899_state *state, u32 Mclk)
static int stb0899_postproc(struct stb0899_state *state, u8 ctl, int enable)
{
struct stb0899_config *config = state->config;
struct stb0899_postproc *postproc = config->postproc;
const struct stb0899_postproc *postproc = config->postproc;

/* post process event */
if (postproc) {
Expand Down
4 changes: 3 additions & 1 deletion drivers/media/dvb/ttpci/budget-av.c
Original file line number Diff line number Diff line change
Expand Up @@ -1445,6 +1445,8 @@ static struct stb0899_config knc1_dvbs2_config = {
.init_s2_fec = knc1_stb0899_s2_init_4,
.init_tst = knc1_stb0899_s1_init_5,

.postproc = NULL,

.demod_address = 0x68,
// .ts_output_mode = STB0899_OUT_PARALLEL, /* types = SERIAL/PARALLEL */
.block_sync_mode = STB0899_SYNC_FORCED, /* DSS, SYNC_FORCED/UNSYNCED */
Expand Down Expand Up @@ -1472,7 +1474,7 @@ static struct stb0899_config knc1_dvbs2_config = {
.tuner_set_frequency = tda8261_set_frequency,
.tuner_set_bandwidth = NULL,
.tuner_get_bandwidth = tda8261_get_bandwidth,
.tuner_set_rfsiggain = NULL,
.tuner_set_rfsiggain = NULL
};

/*
Expand Down
4 changes: 3 additions & 1 deletion drivers/media/dvb/ttpci/budget-ci.c
Original file line number Diff line number Diff line change
Expand Up @@ -1655,6 +1655,8 @@ static struct stb0899_config tt3200_config = {
.init_s2_fec = tt3200_stb0899_s2_init_4,
.init_tst = tt3200_stb0899_s1_init_5,

.postproc = NULL,

.demod_address = 0x68,

.xtal_freq = 27000000,
Expand All @@ -1679,7 +1681,7 @@ static struct stb0899_config tt3200_config = {
.tuner_set_frequency = stb6100_set_frequency,
.tuner_set_bandwidth = stb6100_set_bandwidth,
.tuner_get_bandwidth = stb6100_get_bandwidth,
.tuner_set_rfsiggain = NULL,
.tuner_set_rfsiggain = NULL
};

struct stb6100_config tt3200_stb6100_config = {
Expand Down

0 comments on commit 043a68b

Please sign in to comment.