]> err.no Git - linux-2.6/commitdiff
V4L/DVB (4493): [lnbp21] release callback fixed
authorOliver Endriss <o.endriss@gmx.de>
Tue, 8 Aug 2006 22:58:27 +0000 (19:58 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Tue, 26 Sep 2006 15:30:32 +0000 (12:30 -0300)
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>
drivers/media/dvb/frontends/lnbp21.c

index 37bba32f29a55ddd4b42d70da63f499e651d3859..2d2f58c26226527dd7ddadd5fd4e9ba634d388a4 100644 (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;