Merge 8ce7f0bb6367059def2a4ab1b0e6b260c969bd92 into f84d196a1e9ea07e431ceff0627d209e5145de3b

This commit is contained in:
Daniel Scheller 2017-09-25 19:12:32 +00:00 committed by GitHub
commit 595b387b84

View File

@ -732,7 +732,7 @@ struct dvb_frontend *stv6111_attach(struct dvb_frontend *fe,
fe->ops.i2c_gate_ctrl(fe, 0);
if (stat < 0) {
kfree(state);
return 0;
return NULL;
}
fe->tuner_priv = state;
return fe;