]> git.karo-electronics.de Git - linux-beck.git/commit
iommu/omap: Remove bogus version check in context save/restore
authorSuman Anna <s-anna@ti.com>
Wed, 22 Oct 2014 22:22:25 +0000 (17:22 -0500)
committerJoerg Roedel <jroedel@suse.de>
Thu, 23 Oct 2014 12:32:25 +0000 (14:32 +0200)
commitc2372aafbc4ff59bb6a6bda7ed73364d7f7c53bb
tree5fc9443b535820f5ec637adb9b202991b08ed634
parent3acb04ca5ea4e03c5718a87b713b2fd6f7f52b51
iommu/omap: Remove bogus version check in context save/restore

The omap2_iommu_save_ctx() and omap2_iommu_restore_ctx()
performs a sanity version check against a fixed value
that is correct only for OMAP2/OMAP3 IOMMUs. This fixed check
does not scale for all OMAP2+ IOMMUs and is not absolutely
required, so it has been removed.

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-iommu2.c