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

Commit 716aca41 authored by Kyle Yan's avatar Kyle Yan Committed by Gerrit - the friendly Code Review server
Browse files

Merge "sound: usb: Add NULL check on return value of iommu_domain_alloc()" into msm-4.9

parents 6a6c23b2 a2a80910
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1006,8 +1006,8 @@ static int uaudio_qmi_plat_probe(struct platform_device *pdev)
	}

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