summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfram Sang (Renesas) <wsa+renesas@sang-engineering.com>2018-12-19 02:12:07 +0300
committerRussell King <rmk+kernel@armlinux.org.uk>2019-02-02 00:44:06 +0300
commit4a4d68fc2657df9a2b4f114081141e2599804586 (patch)
treec89724b019f860f7a28448e5a1e6b1e61baf0acb
parent9ec5cd0a40f2e7834ddd55708e8def18f0940244 (diff)
downloadlinux-4a4d68fc2657df9a2b4f114081141e2599804586.tar.xz
ARM: 8818/1: dma-mapping: update comment about handling dma_ops when detaching from IOMMU
Update the comment because we don't set the pointer to NULL anymore. Also use the correct pointer name 'dma_ops' instead of 'dma_map_ops'. Fixes: 1874619a7df4 ("ARM: dma-mapping: Set proper DMA ops in arm_iommu_detach_device()") Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
-rw-r--r--arch/arm/mm/dma-mapping.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mm/dma-mapping.c b/arch/arm/mm/dma-mapping.c
index f1e2922e447c..fae7465767b9 100644
--- a/arch/arm/mm/dma-mapping.c
+++ b/arch/arm/mm/dma-mapping.c
@@ -2277,7 +2277,7 @@ EXPORT_SYMBOL_GPL(arm_iommu_attach_device);
* @dev: valid struct device pointer
*
* Detaches the provided device from a previously attached map.
- * This voids the dma operations (dma_map_ops pointer)
+ * This overwrites the dma_ops pointer with appropriate non-IOMMU ops.
*/
void arm_iommu_detach_device(struct device *dev)
{