summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Aafloy <devnull@localhost>2004-07-14 12:33:22 +0000
committerKenneth Aafloy <devnull@localhost>2004-07-14 12:33:22 +0000
commitf27616616f804e6941caddcd3c45446b5298579a (patch)
treeb44eed679ce382623dfdfd0e5fbd8c5c24902f3b
parentaae73aaf4878b78e7641ccd8496482a2e6e3f61b (diff)
downloadmediapointer-dvb-s2-f27616616f804e6941caddcd3c45446b5298579a.tar.gz
mediapointer-dvb-s2-f27616616f804e6941caddcd3c45446b5298579a.tar.bz2
- Add missing dvb_unregister_frontend_new
-rw-r--r--linux/drivers/media/dvb/frontends/ves1x93.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/frontends/ves1x93.c b/linux/drivers/media/dvb/frontends/ves1x93.c
index 5563e2578..992ca9e45 100644
--- a/linux/drivers/media/dvb/frontends/ves1x93.c
+++ b/linux/drivers/media/dvb/frontends/ves1x93.c
@@ -653,7 +653,9 @@ static int attach_adapter(struct i2c_adapter *adapter)
static int detach_client(struct i2c_client *client)
{
struct ves1x93_state *state = (struct ves1x93_state*)i2c_get_clientdata(client);
+ dvb_unregister_frontend_new(ves1x93_ioctl, state->dvb);
i2c_detach_client(client);
+ BUG_ON(state->dvb);
kfree(client);
kfree(state);
return 0;