From: Oliver Endriss Date: Tue, 8 Aug 2006 22:58:27 +0000 (-0300) Subject: V4L/DVB (4493): [lnbp21] release callback fixed X-Git-Tag: MMI-PSA29.97-13-9~47010^2~81 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b5b168d7b9e28e0569ed4fe2c0a44fae71df30b5;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.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 37bba32f29a5..2d2f58c26226 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;