diff options
author | Oliver Endriss <o.endriss@gmx.de> | 2006-08-08 18:58:27 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-09-26 11:30:32 -0400 |
commit | b5b168d7b9e28e0569ed4fe2c0a44fae71df30b5 (patch) | |
tree | f09e1423be03ed91638925673c2f55b65cc550e7 /drivers/media/dvb/frontends/lnbp21.c | |
parent | 7df0994d7bda8eb30b459e31f8b6be97a8f1b0b0 (diff) |
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>
Diffstat (limited to 'drivers/media/dvb/frontends/lnbp21.c')
-rw-r--r-- | drivers/media/dvb/frontends/lnbp21.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 * | |||
122 | } | 122 | } |
123 | 123 | ||
124 | /* install release callback */ | 124 | /* install release callback */ |
125 | fe->ops.release = lnbp21_release; | 125 | fe->ops.release_sec = lnbp21_release; |
126 | 126 | ||
127 | /* override frontend ops */ | 127 | /* override frontend ops */ |
128 | fe->ops.set_voltage = lnbp21_set_voltage; | 128 | fe->ops.set_voltage = lnbp21_set_voltage; |