1
0
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:
internal 2022-12-13 13:33:09 +01:00 committed by rjkm
parent e64ceb90fb
commit 0b36a69c44

View File

@ -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);