1
0
mirror of https://github.com/DigitalDevices/dddvb.git synced 2023-10-10 13:37:43 +02:00

fix reference to struct

This commit is contained in:
Ralph Metzler 2015-08-31 20:47:19 +02:00
parent 5af6007152
commit 5ed590a3c7

View File

@ -585,7 +585,7 @@ static int sleep(struct dvb_frontend *fe)
if (p->tuner_in_use == state->tuner) if (p->tuner_in_use == state->tuner)
break; break;
} }
if (p == &state->base->mxls) if (&p->mxl == &state->base->mxls)
enable_tuner(state, state->tuner, 0); enable_tuner(state, state->tuner, 0);
mutex_unlock(&state->base->tune_lock); mutex_unlock(&state->base->tune_lock);
} }