mirror of
https://github.com/DigitalDevices/dddvb.git
synced 2023-10-10 13:37:43 +02:00
allow MCI commands for SDR cards.
This commit is contained in:
parent
457cb550bb
commit
2a88d220e4
@ -1787,7 +1787,8 @@ int ddbridge_mod_do_ioctl(struct file *file, unsigned int cmd, void *parg)
|
|||||||
(struct dtv_properties __user *) parg;
|
(struct dtv_properties __user *) parg;
|
||||||
int i, ret = 0;
|
int i, ret = 0;
|
||||||
|
|
||||||
if (dev->link[0].info->version >= 16 && cmd != FE_SET_PROPERTY)
|
if (dev->link[0].info->version >= 16 &&
|
||||||
|
(cmd != FE_SET_PROPERTY && cmd != IOCTL_DDB_MCI_CMD))
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
mutex_lock(&dev->ioctl_mutex);
|
mutex_lock(&dev->ioctl_mutex);
|
||||||
switch (cmd) {
|
switch (cmd) {
|
||||||
|
Loading…
Reference in New Issue
Block a user