Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ad9f9a55 authored by Vijayanand Jitta's avatar Vijayanand Jitta
Browse files

iommu: arm-smmu: use bitwise operator instead of logical



A logical and ('&&') has been used instead of a bitwise and ('&')
in (smmu->options && ARM_SMMU_OPT_SKIP_INIT), so replace it with
bitwise and.

Change-Id: I52eab6674403c3f59aacbf4e07832b8b2354b71d
Signed-off-by: default avatarVijayanand Jitta <vjitta@codeaurora.org>
parent 842d1eea
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -638,7 +638,7 @@ static void parse_driver_options(struct arm_smmu_device *smmu)
	} while (arm_smmu_options[++i].opt);

	if (arm_smmu_opt_hibernation(smmu) &&
	    smmu->options && ARM_SMMU_OPT_SKIP_INIT) {
	    (smmu->options & ARM_SMMU_OPT_SKIP_INIT)) {
		dev_info(smmu->dev,
			 "Disabling incompatible option: skip-init\n");
		smmu->options &= ~ARM_SMMU_OPT_SKIP_INIT;