From 74e040f020dd74ca4f65aaafa68b4e4023412271 Mon Sep 17 00:00:00 2001 From: none Date: Wed, 15 Jan 2020 15:27:01 +0100 Subject: [PATCH] unset iq_mode flag in stop_iq --- ddbridge/ddbridge-sx8.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ddbridge/ddbridge-sx8.c b/ddbridge/ddbridge-sx8.c index 468f6d4..e0ee5bf 100644 --- a/ddbridge/ddbridge-sx8.c +++ b/ddbridge/ddbridge-sx8.c @@ -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; }