]> git.karo-electronics.de Git - karo-tx-linux.git/commit
iommu/fsl: Fix the device domain attach condition.
authorVarun Sethi <Varun.Sethi@freescale.com>
Tue, 24 Jun 2014 13:57:16 +0000 (19:27 +0530)
committerJoerg Roedel <jroedel@suse.de>
Mon, 7 Jul 2014 08:30:02 +0000 (10:30 +0200)
commit75f0e4615dc328e67634eccd86bc71597da9f8a3
tree3b28358c4cb72c27ac3e86d46b269f62c599ccf6
parentd033f48f3a4a9279c7475891fbb060d4881c22da
iommu/fsl: Fix the device domain attach condition.

Store the domain information for the device, only if it's not already
attached to a domain.

Signed-off-by: Varun Sethi <Varun.Sethi@freescale.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/fsl_pamu_domain.c