diff options
author | Michael Hunold <devnull@localhost> | 2004-06-04 20:32:55 +0000 |
---|---|---|
committer | Michael Hunold <devnull@localhost> | 2004-06-04 20:32:55 +0000 |
commit | 6e2d77b3a2d7efac85a5671e4c476cf8f8bc1faa (patch) | |
tree | 171680deb24007cf00f744ab059c914e99c972ed /linux/drivers/media/dvb/ttpci/budget-av.c | |
parent | a0dac2cdb3964e807e3ffb5df8dd1dd19fd8a91f (diff) | |
download | mediapointer-dvb-s2-6e2d77b3a2d7efac85a5671e4c476cf8f8bc1faa.tar.gz mediapointer-dvb-s2-6e2d77b3a2d7efac85a5671e4c476cf8f8bc1faa.tar.bz2 |
- same as for budget-ci: make sure the data pointer is valid before budget-core init function is called
Diffstat (limited to 'linux/drivers/media/dvb/ttpci/budget-av.c')
-rw-r--r-- | linux/drivers/media/dvb/ttpci/budget-av.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/ttpci/budget-av.c b/linux/drivers/media/dvb/ttpci/budget-av.c index f4ea0e9e3..7a80f544a 100644 --- a/linux/drivers/media/dvb/ttpci/budget-av.c +++ b/linux/drivers/media/dvb/ttpci/budget-av.c @@ -208,13 +208,13 @@ static int budget_av_attach (struct saa7146_dev* dev, memset(budget_av, 0, sizeof(struct budget_av)); + dev->ext_priv = budget_av; + if ((err = ttpci_budget_init(&budget_av->budget, dev, info))) { kfree(budget_av); return err; } - dev->ext_priv = budget_av; - /* knc1 initialization */ saa7146_write(dev, DD1_STREAM_B, 0x04000000); saa7146_write(dev, DD1_INIT, 0x07000600); |