commit | 00d4b2bb03b9ed27f28336b0a68f2bd7f67caa40 | [log] [tgz] |
---|---|---|
author | Stepan Moskovchenko <stepanm@codeaurora.org> | Fri Nov 12 19:29:56 2010 -0800 |
committer | Daniel Walker <dwalker@codeaurora.org> | Tue Nov 30 16:03:51 2010 -0800 |
tree | 738995cfae9dbea6649668539561f97c3e86694f | |
parent | 2607b0a26094b2d2d174c3e27b2ecc9c49d86f40 [diff] |
msm: iommu: Check if device is already attached An IOMMU device can only be attached to one IOMMU domain at any given time. Check whether the device is already attached to a domain before allowing it to be attached to another domain. If so, return busy. Signed-off-by: Stepan Moskovchenko <stepanm@codeaurora.org> Signed-off-by: Daniel Walker <dwalker@codeaurora.org>