projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a31f6f
)
iommu/tegra-gart: fix spin_unlock in map failure path
author
Lucas Stach
<dev@lynxeye.de>
Mon, 12 Mar 2012 19:15:01 +0000
(20:15 +0100)
committer
Joerg Roedel
<joerg.roedel@amd.com>
Tue, 13 Mar 2012 10:17:42 +0000
(11:17 +0100)
This must have been messed up while merging, the intention was
clearly to unlock there.
Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/iommu/tegra-gart.c
patch
|
blob
|
history
diff --git
a/drivers/iommu/tegra-gart.c
b/drivers/iommu/tegra-gart.c
index
b21598f
..
779306e
100644
(file)
--- a/
drivers/iommu/tegra-gart.c
+++ b/
drivers/iommu/tegra-gart.c
@@
-246,7
+246,7
@@
static int gart_iommu_map(struct iommu_domain *domain, unsigned long iova,
pfn = __phys_to_pfn(pa);
if (!pfn_valid(pfn)) {
dev_err(gart->dev, "Invalid page: %08x\n", pa);
- spin_
lock_irqsav
e(&gart->pte_lock, flags);
+ spin_
unlock_irqrestor
e(&gart->pte_lock, flags);
return -EINVAL;
}
gart_set_pte(gart, iova, GART_PTE(pfn));