diff options
author | Yong Wu <[email protected]> | 2020-05-15 16:08:43 +0800 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2020-05-18 15:42:07 +0200 |
commit | 8bbe13f52cb79666ada12033f04bdeb4741b7188 (patch) | |
tree | ec1cc827e7e0b222d737420bd6ef05e0bc827ee5 /drivers/usb/cdns3/cdns3-imx.c | |
parent | 5df362a53f7d36e032668e7e6725d80622b98525 (diff) |
iommu/mediatek-v1: Add def_domain_type
The MediaTek V1 IOMMU is arm32 whose default domain type is
IOMMU_DOMAIN_UNMANAGED. Add this to satisfy the bus_iommu_probe to
enter "probe_finalize".
The iommu framework will create a iommu domain for each a device.
But all the devices share a iommu domain here, thus we skip all the
other domains in the "attach_device" except the domain we create
internally with arm_iommu_create_mapping.
Also a minor change: in the attach_device, "data" always is not null.
Remove "if (!data) return".
Signed-off-by: Yong Wu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions