]> git.karo-electronics.de Git - linux-beck.git/commit
iommu/omap: Reset the domain field upon detaching
authorSuman Anna <s-anna@ti.com>
Wed, 22 Oct 2014 22:22:33 +0000 (17:22 -0500)
committerJoerg Roedel <jroedel@suse.de>
Thu, 23 Oct 2014 12:33:48 +0000 (14:33 +0200)
commitf24d9ad3fafd7c4ee47ec75947657d768873b6e4
tree6876bcd3bef0f186deaed23f4b97dfe3f0b7db94
parent4899a5636d535ba573a7e52b5ad7be1f886d40a3
iommu/omap: Reset the domain field upon detaching

The .domain field in omap_iommu struct is set properly when the
OMAP IOMMU device is attached to, but is never reset properly
on detach. Reset this properly so that the OMAP IOMMU debugfs
logic can depend on this field before allowing the debugfs
operations.

Signed-off-by: Suman Anna <s-anna@ti.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/omap-iommu.c