iommu/omap: Add check for iommu group when no IOMMU in use
authorTero Kristo via iommu <iommu@lists.linux-foundation.org>
Mon, 18 May 2020 11:10:57 +0000 (14:10 +0300)
committerJoerg Roedel <jroedel@suse.de>
Mon, 18 May 2020 13:35:43 +0000 (15:35 +0200)
commit46b14fc61bfa409efe95a7752a5dba361d753c66
tree67e7295ad927af3725deb94ee09b349218a4b5ff
parentec9b40cffdb68c4ea1ebdcd1648ed6ce15c4449e
iommu/omap: Add check for iommu group when no IOMMU in use

Most of the devices in OMAP family of SoCs are not using IOMMU. The
patch for converting the OMAP IOMMU to use generic IOMMU bus probe
functionality failed to add a check for this, so add it here.

Fixes: c822b37cac48 ("iommu/omap: Remove orphan_dev tracking")
Reported-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Link: https://lore.kernel.org/r/20200518111057.23140-1-t-kristo@ti.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/omap-iommu.c