|
@@ -1566,7 +1566,7 @@ static int arm_smmu_device_cfg_probe(struct arm_smmu_device *smmu)
|
|
return -ENODEV;
|
|
return -ENODEV;
|
|
}
|
|
}
|
|
|
|
|
|
- if ((id & ID0_S1TS) && ((smmu->version == 1) || (id & ID0_ATOSNS))) {
|
|
|
|
|
|
+ if ((id & ID0_S1TS) && ((smmu->version == 1) || !(id & ID0_ATOSNS))) {
|
|
smmu->features |= ARM_SMMU_FEAT_TRANS_OPS;
|
|
smmu->features |= ARM_SMMU_FEAT_TRANS_OPS;
|
|
dev_notice(smmu->dev, "\taddress translation ops\n");
|
|
dev_notice(smmu->dev, "\taddress translation ops\n");
|
|
}
|
|
}
|