mirror of
https://github.com/torvalds/linux.git
synced 2024-12-04 01:51:34 +00:00
V4L/DVB (6882): dvb_frontend: release analog demod in dvb_frontend_detach
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
parent
bc3e5c7fc2
commit
2426a27e4d
@ -1202,6 +1202,10 @@ void dvb_frontend_detach(struct dvb_frontend* fe)
|
|||||||
fe->ops.tuner_ops.release(fe);
|
fe->ops.tuner_ops.release(fe);
|
||||||
symbol_put_addr(fe->ops.tuner_ops.release);
|
symbol_put_addr(fe->ops.tuner_ops.release);
|
||||||
}
|
}
|
||||||
|
if (fe->ops.analog_ops.release) {
|
||||||
|
fe->ops.analog_ops.release(fe);
|
||||||
|
symbol_put_addr(fe->ops.analog_ops.release);
|
||||||
|
}
|
||||||
ptr = (void*)fe->ops.release;
|
ptr = (void*)fe->ops.release;
|
||||||
if (ptr) {
|
if (ptr) {
|
||||||
fe->ops.release(fe);
|
fe->ops.release(fe);
|
||||||
@ -1215,6 +1219,8 @@ void dvb_frontend_detach(struct dvb_frontend* fe)
|
|||||||
fe->ops.release_sec(fe);
|
fe->ops.release_sec(fe);
|
||||||
if (fe->ops.tuner_ops.release)
|
if (fe->ops.tuner_ops.release)
|
||||||
fe->ops.tuner_ops.release(fe);
|
fe->ops.tuner_ops.release(fe);
|
||||||
|
if (fe->ops.analog_ops.release)
|
||||||
|
fe->ops.analog_ops.release(fe);
|
||||||
if (fe->ops.release)
|
if (fe->ops.release)
|
||||||
fe->ops.release(fe);
|
fe->ops.release(fe);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user