Ver Fonte

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 há 4 anos atrás
pai
commit
487c52aa53
1 ficheiros alterados com 0 adições e 1 exclusões
  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;