Skip to content

Commit

Permalink
[media] drxd: provide ability to control rs byte
Browse files Browse the repository at this point in the history
Provide the ability for the board configuration to specify whether to insert
the RS byte into the TS interconnect to the bridge, while not required for
the ngene in fact is required for the em28xx.

Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Devin Heitmueller authored and Mauro Carvalho Chehab committed May 20, 2011
1 parent 949a12e commit ba96796
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions drivers/media/dvb/frontends/drxd.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ struct drxd_config
#define DRXD_PLL_MT3X0823 2

u32 clock;
u8 insert_rs_byte;

u8 demod_address;
u8 demoda_address;
Expand Down
2 changes: 1 addition & 1 deletion drivers/media/dvb/frontends/drxd_hard.c
Original file line number Diff line number Diff line change
Expand Up @@ -2449,7 +2449,7 @@ static int CDRXD(struct drxd_state *state, u32 IntermediateFrequency)
state->tuner_mirrors=0;

/* modify MPEG output attributes */
state->insert_rs_byte = 0;
state->insert_rs_byte = state->config.insert_rs_byte;
state->enable_parallel = (ulSerialMode != 1);

/* Timing div, 250ns/Psys */
Expand Down

0 comments on commit ba96796

Please sign in to comment.