diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2008-09-06 13:54:45 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-10-12 09:37:01 -0200 |
commit | 2a6003c20771ca16fc6386b5fd258df2f2fa8232 (patch) | |
tree | 7f577409cdb779d72b4a657e5f5fc736fde91100 /lib/locking-selftest-hardirq.h | |
parent | 89fd28545c7390eb6c63d3d9e6faac78942dd1a4 (diff) |
V4L/DVB (8950): xc5000: prevent an OOPS if analog driver is unloaded while digital is in use
Prevent an OOPS if xc5000_attach was called by tuner.ko before being called by
the DVB adapter driver. The OOPS occurs when a digital tune request is made
after tuner.ko is unloaded.
When tuner.ko is unloaded, it takes the xc5000_config structure with it.
Rather than storing a pointer to the xc5000_config structure, just store the
if_khz and tuner_callback inside the xc5000_priv internal state structure.
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'lib/locking-selftest-hardirq.h')
0 files changed, 0 insertions, 0 deletions