Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 271562
b: refs/heads/master
c: 4234541
h: refs/heads/master
v: v3
  • Loading branch information
Joerg Roedel committed Aug 26, 2011
1 parent 433a888 commit 548a49c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6c32df437c7c5b1fc29d3ca29b0ff44f8dfafc56
refs/heads/master: 4234541f1a64d9dc6d489cf8f614dc01c62360f6
6 changes: 3 additions & 3 deletions trunk/drivers/iommu/omap-iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -918,14 +918,14 @@ int omap_iommu_set_isr(const char *name,
return -ENODEV;

obj = to_iommu(dev);
mutex_lock(&obj->iommu_lock);
spin_lock(&obj->iommu_lock);
if (obj->refcount != 0) {
mutex_unlock(&obj->iommu_lock);
spin_unlock(&obj->iommu_lock);
return -EBUSY;
}
obj->isr = isr;
obj->isr_priv = isr_priv;
mutex_unlock(&obj->iommu_lock);
spin_unlock(&obj->iommu_lock);

return 0;
}
Expand Down

0 comments on commit 548a49c

Please sign in to comment.