Re: [PATCH v2 2/3] iommu/tegra-smmu: Rework .probe_device and .attach_dev

From: Dmitry Osipenko
Date: Wed Sep 30 2020 - 01:11:58 EST


30.09.2020 03:30, Nicolin Chen пишет:
> + /* An invalid mc pointer means mc and smmu drivers are not ready */
> + if (IS_ERR_OR_NULL(mc))

tegra_get_memory_controller() doesn't return NULL.

> + return ERR_PTR(-EPROBE_DEFER);