mirror of
https://github.com/DigitalDevices/dddvb.git
synced 2023-10-10 13:37:43 +02:00
check if MCI interface present
This commit is contained in:
parent
e64ceb90fb
commit
0b36a69c44
@ -134,6 +134,8 @@ int ddb_mci_cmd_link(struct ddb_link *link,
|
||||
struct mci_result res;
|
||||
int stat;
|
||||
|
||||
if (!link->mci_ok)
|
||||
return -EFAULT;
|
||||
if (!result)
|
||||
result = &res;
|
||||
mutex_lock(&link->mci_lock);
|
||||
|
Loading…
Reference in New Issue
Block a user