diff options
author | Michael Hunold <devnull@localhost> | 2003-02-27 14:37:07 +0000 |
---|---|---|
committer | Michael Hunold <devnull@localhost> | 2003-02-27 14:37:07 +0000 |
commit | eedc7fd38fcda5ad3f241225580db5189faae05a (patch) | |
tree | 33a6d3de2d7123dfcdea9388bbb2ac1919079bbf /linux/drivers/media/common/saa7146_fops.c | |
parent | b8852a2112a64e58ed0a6a0b513e55eeceeb75ca (diff) | |
download | mediapointer-dvb-s2-eedc7fd38fcda5ad3f241225580db5189faae05a.tar.gz mediapointer-dvb-s2-eedc7fd38fcda5ad3f241225580db5189faae05a.tar.bz2 |
- fix some bugs that appeared in system with both analog and digital
based saa7146 cards
- change the initialization order to allow static builds of the mxb driver
Diffstat (limited to 'linux/drivers/media/common/saa7146_fops.c')
-rw-r--r-- | linux/drivers/media/common/saa7146_fops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/common/saa7146_fops.c b/linux/drivers/media/common/saa7146_fops.c index 217b85f14..9048bc339 100644 --- a/linux/drivers/media/common/saa7146_fops.c +++ b/linux/drivers/media/common/saa7146_fops.c @@ -193,14 +193,14 @@ int fops_open(struct inode *inode, struct file *file) dev = h; } } - DEB_D(("using: %p\n",dev)); - if (NULL == dev) { DEB_S(("no such video device.\n")); result = -ENODEV; goto out; } + DEB_D(("using: %p\n",dev)); + /* check if an extension is registered */ if( NULL == dev->ext ) { DEB_S(("no extension registered for this device.\n")); |