mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 20:51:03 +02:00
media: dvb-frontends/stid135: Optimized ts_nosync option.
This commit is contained in:
@@ -284,7 +284,6 @@ struct fe_sat_init_params {
|
||||
enum fe_sat_iq_inversion tuner_iq_inversion; /* Tuner 1 Global IQ setting (coonction of IQ from the tuner1 to the demod */
|
||||
enum fe_sat_search_standard standard;
|
||||
BOOL ts_nosync;
|
||||
BOOL mis;
|
||||
};
|
||||
|
||||
/****************************************************************
|
||||
|
@@ -55,10 +55,6 @@ static unsigned int ts_nosync;
|
||||
module_param(ts_nosync, int, 0644);
|
||||
MODULE_PARM_DESC(ts_nosync, "TS FIFO Minimum latence mode (default:off)");
|
||||
|
||||
static unsigned int mis;
|
||||
module_param(mis,int,0644);
|
||||
MODULE_PARM_DESC(mis,"someone search the multi-stream signal lose packets,please turn on it(default:off)");
|
||||
|
||||
struct stv_base {
|
||||
struct list_head stvlist;
|
||||
|
||||
@@ -146,7 +142,6 @@ static int stid135_probe(struct stv *state)
|
||||
init_params.roll_off = FE_SAT_35; // NYQUIST Filter value (used for DVBS1/DSS, DVBS2 is automatic)
|
||||
init_params.tuner_iq_inversion = FE_SAT_IQ_NORMAL;
|
||||
init_params.ts_nosync = ts_nosync;
|
||||
init_params.mis = mis;
|
||||
err = fe_stid135_init(&init_params,&state->base->handle);
|
||||
|
||||
if (err != FE_LLA_NO_ERROR) {
|
||||
|
@@ -3489,7 +3489,6 @@ fe_lla_error_t fe_stid135_init (struct fe_sat_init_params *pInit,
|
||||
pParams->internal_ldo = pInit->internal_ldo;
|
||||
pParams->rf_input_type = pInit->rf_input_type;
|
||||
pParams->ts_nosync = pInit->ts_nosync;
|
||||
pParams->mis = pInit->mis;
|
||||
/* Init for PID filtering feature */
|
||||
for(i=0;i<8;i++)
|
||||
pParams->pid_flt[i].first_disable_all_command = TRUE;
|
||||
@@ -4888,8 +4887,8 @@ fe_lla_error_t fe_stid135_manage_matype_info(fe_stid135_handle_t handle,
|
||||
/* If TS/GS = 11 (MPEG TS), reset matype force bit and do NOT load frames in MPEG packets */
|
||||
if(((genuine_matype>>6) & 0x3) == 0x3) {
|
||||
/* "TS FIFO Minimum latence mode */
|
||||
if(!pParams->mis)
|
||||
error |= ChipSetField(pParams->handle_demod, FLD_FC8CODEW_DVBSX_HWARE_TSSTATE1_TSOUT_NOSYNC(Demod), pParams->ts_nosync ? 1 : 0);
|
||||
if(pParams->ts_nosync)
|
||||
error |= ChipSetField(pParams->handle_demod, FLD_FC8CODEW_DVBSX_HWARE_TSSTATE1_TSOUT_NOSYNC(Demod), 1);
|
||||
/* Unforce HEM mode */
|
||||
error |= ChipSetField(pParams->handle_demod, FLD_FC8CODEW_DVBSX_PKTDELIN_PDELCTRL0_HEMMODE_SELECT(Demod), 0);
|
||||
/* Go back to reset value settings */
|
||||
|
@@ -259,7 +259,6 @@ struct fe_stid135_internal_param {
|
||||
lo_frequency; /* Temporary definition
|
||||
for LO frequency */
|
||||
BOOL ts_nosync;
|
||||
BOOL mis;
|
||||
enum fe_sat_iq_inversion tuner_global_iqv_inv[8]; /* Global I,Q
|
||||
inversion I,Q conection from tuner to
|
||||
demod */
|
||||
|
Reference in New Issue
Block a user