diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2008-09-06 12:54:45 -0400 |
---|---|---|
committer | Michael Krufky <mkrufky@linuxtv.org> | 2008-09-06 12:54:45 -0400 |
commit | 8cab49c4acd229cb28d9add11a80eed55859ba2d (patch) | |
tree | 7cba68ef46af5ed12095c99af31f18c22d5a09be /v4l2-apps | |
parent | dbd3f1f18f6dc2b7e14b1a4576af6f5f8376ad41 (diff) | |
download | mediapointer-dvb-s2-8cab49c4acd229cb28d9add11a80eed55859ba2d.tar.gz mediapointer-dvb-s2-8cab49c4acd229cb28d9add11a80eed55859ba2d.tar.bz2 |
xc5000: prevent an OOPS if analog driver is unloaded while digital is in use
From: Michael Krufky <mkrufky@linuxtv.org>
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.
Priority: normal
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Diffstat (limited to 'v4l2-apps')
0 files changed, 0 insertions, 0 deletions