fix reference to struct

This commit is contained in:
Ralph Metzler 2015-08-31 20:47:19 +02:00
parent 5af6007152
commit 5ed590a3c7
1 changed files with 1 additions and 1 deletions

View File

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