1
0
mirror of https://github.com/DigitalDevices/dddvb.git synced 2023-10-10 13:37:43 +02:00

Revert "block opening of ci device with O_RDWR"

This reverts commit e2145682e2ae6cd914df7c92323845ffa8b7a8fe.
Before this revert, it was not possible anymore to link a CAM
to a tuner.
This commit is contained in:
Frederic Cand 2016-05-02 15:19:22 +02:00 committed by Richard Bérichon
parent 8e25b218ad
commit 3d63c494d4

View File

@ -985,8 +985,6 @@ static int ts_open(struct inode *inode, struct file *file)
} else if ((file->f_flags & O_ACCMODE) == O_WRONLY) {
if (!output)
return -EINVAL;
} else {
return -EINVAL;
}
err = dvb_generic_open(inode, file);
if (err < 0)