V4L/DVB (4493): [lnbp21] release callback fixed

lnbp21 module must use fe->ops.release_sec, not fe->ops.release.
The release function of the frontend driver was never called for cards
with lnbp21...

Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
Oliver Endriss 2006-08-08 19:58:27 -03:00 committed by Mauro Carvalho Chehab
parent 7df0994d7b
commit b5b168d7b9

View file

@ -122,7 +122,7 @@ struct dvb_frontend *lnbp21_attach(struct dvb_frontend *fe, struct i2c_adapter *
}
/* install release callback */
fe->ops.release = lnbp21_release;
fe->ops.release_sec = lnbp21_release;
/* override frontend ops */
fe->ops.set_voltage = lnbp21_set_voltage;