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

Commit 1de43aec authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "sound: usb: Add NULL check on return value of iommu_domain_alloc()"

parents 627ff531 0e234049
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1007,8 +1007,8 @@ static int uaudio_qmi_plat_probe(struct platform_device *pdev)
	}

	uaudio_qdev->domain = iommu_domain_alloc(msm_iommu_get_bus(&pdev->dev));
	if (!uaudio_qdev) {
		dev_err(&pdev->dev, "failed to callocate iommu domin\n");
	if (!uaudio_qdev->domain) {
		dev_err(&pdev->dev, "failed to callocate iommu domain\n");
		return -ENODEV;
	}