Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 205635
b: refs/heads/master
c: 7c0ace5
h: refs/heads/master
i:
  205633: ebc38df
  205631: ac8b4be
v: v3
  • Loading branch information
Julia Lawall authored and Greg Kroah-Hartman committed Jun 18, 2010
1 parent e0c2c65 commit 43f22b6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 45f9f018967c3fc112a03a99a8fdfad3621407a7
refs/heads/master: 7c0ace54887872ebd99fefdfe85d273295a09426
4 changes: 3 additions & 1 deletion trunk/drivers/staging/vme/bridges/vme_ca91cx42.c
Original file line number Diff line number Diff line change
Expand Up @@ -900,7 +900,8 @@ unsigned int ca91cx42_master_rmw(struct vme_master_resource *image,
/* Address must be 4-byte aligned */
if (pci_addr & 0x3) {
dev_err(dev, "RMW Address not 4-byte aligned\n");
return -EINVAL;
result = -EINVAL;
goto out;
}

/* Ensure RMW Disabled whilst configuring */
Expand All @@ -921,6 +922,7 @@ unsigned int ca91cx42_master_rmw(struct vme_master_resource *image,
/* Disable RMW */
iowrite32(0, bridge->base + SCYC_CTL);

out:
spin_unlock(&(image->lock));

mutex_unlock(&(bridge->vme_rmw));
Expand Down

0 comments on commit 43f22b6

Please sign in to comment.