iommu/amd: Make sure iommu->need_sync contains correct value
authorJoerg Roedel <joerg.roedel@amd.com>
Fri, 2 Sep 2011 12:10:32 +0000 (14:10 +0200)
committerJoerg Roedel <joerg.roedel@amd.com>
Fri, 2 Sep 2011 12:10:32 +0000 (14:10 +0200)
commitf1ca1512e765337a7c09eb875eedef8ea4e07654
tree79bc491e98ab55af1575a3e4dec8e31f1f32be62
parentc6a389f123b9f68d605bb7e0f9b32ec1e3e14132
iommu/amd: Make sure iommu->need_sync contains correct value

The value is only set to true but never set back to false,
which causes to many completion-wait commands to be sent to
hardware. Fix it with this patch.

Cc: stable@kernel.org
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/iommu/amd_iommu.c