]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: omap3isp: Handle ARM dma_iommu_mapping
authorRobin Murphy <robin.murphy@arm.com>
Mon, 28 Oct 2024 17:58:36 +0000 (17:58 +0000)
committerHans Verkuil <hverkuil@xs4all.nl>
Tue, 4 Mar 2025 12:35:32 +0000 (13:35 +0100)
commit6bc076eec6f85f778f33a8242b438e1bd9fcdd59
treede7cdf6e0b96e701018bc407d3b15b33092bcfa4
parent6f0ab5d3671f7cbb326c8cab6fb69cb7ab9901cc
media: omap3isp: Handle ARM dma_iommu_mapping

It's no longer practical for the OMAP IOMMU driver to trick
arm_setup_iommu_dma_ops() into ignoring its presence, so let's use the
same tactic as other IOMMU API users on 32-bit ARM and explicitly kick
the arch code's dma_iommu_mapping out of the way to avoid problems.

Fixes: 4720287c7bf7 ("iommu: Remove struct iommu_ops *iommu from arch_setup_dma_ops()")
Cc: stable@vger.kernel.org
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Tested-by: Sicelo A. Mhlongo <absicsz@gmail.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
drivers/media/platform/ti/omap3isp/isp.c