From: Oliver Endriss Date: Tue, 8 Aug 2006 22:58:27 +0000 (-0300) Subject: V4L/DVB (4493): [lnbp21] release callback fixed X-Git-Tag: v2.6.19-rc1~643^2~81 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=b5b168d7b9e28e0569ed4fe2c0a44fae71df30b5;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/dvb/frontends/lnbp21.c b/drivers/media/dvb/frontends/lnbp21.c index 37bba32f29a..2d2f58c2622 100644 --- a/drivers/media/dvb/frontends/lnbp21.c +++ b/drivers/media/dvb/frontends/lnbp21.c @@ -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;