瀏覽代碼

qcacld-3.0: skip smmu map setup failure during driver probing

If IPA driver is not initialized during kernel boot, wlan driver
would be failed to probe because that smmu map setup failed.
Skip this failure to make sure that wlan driver can load
successfully for basic function.

Change-Id: I1e4554908a1603e4b1fce956b153db87859b4ddd
CRs-Fixed: 2786761
Zhaoyang Liu 4 年之前
父節點
當前提交
487c52aa53
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      core/hdd/src/wlan_hdd_driver_ops.c

+ 0 - 1
core/hdd/src/wlan_hdd_driver_ops.c

@@ -461,7 +461,6 @@ static int hdd_init_qdf_ctx(struct device *dev, void *bdev,
 	if (cds_smmu_mem_map_setup(qdf_dev, ucfg_ipa_is_ready()) !=
 		QDF_STATUS_SUCCESS) {
 		hdd_err("cds_smmu_mem_map_setup() failed");
-		return -EFAULT;
 	}
 
 	return 0;