mirror of
https://github.com/DigitalDevices/dddvb.git
synced 2023-10-10 13:37:43 +02:00
unset iq_mode flag in stop_iq
This commit is contained in:
parent
ee3e352c0c
commit
74e040f020
@ -162,6 +162,8 @@ static int mci_set_tuner(struct dvb_frontend *fe, u32 tuner, u32 on)
|
||||
static int stop_iq(struct dvb_frontend *fe)
|
||||
{
|
||||
struct sx8 *state = fe->demodulator_priv;
|
||||
struct mci_base *mci_base = state->mci.base;
|
||||
struct sx8_base *sx8_base = (struct sx8_base *) mci_base;
|
||||
struct mci_command cmd;
|
||||
|
||||
if (!state->iq_started)
|
||||
@ -172,6 +174,7 @@ static int stop_iq(struct dvb_frontend *fe)
|
||||
ddb_mci_cmd(&state->mci, &cmd, NULL);
|
||||
ddb_mci_config(&state->mci, SX8_TSCONFIG_MODE_NORMAL);
|
||||
state->iq_started = 0;
|
||||
sx8_base->iq_mode = 0;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user