Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 14591
b: refs/heads/master
c: 2f3eca8
h: refs/heads/master
i:
  14589: 01ca944
  14587: 44e1c46
  14583: 632c27d
  14575: bcfab63
  14559: 392504b
  14527: a85bd3a
  14463: 9f1ef23
  14335: 17c1129
v: v3
  • Loading branch information
Russell King authored and Russell King committed Nov 21, 2005
1 parent 7f9d37b commit 0d7116b
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 30a09616df38ab282e66084f40fb438fe715b2ec
refs/heads/master: 2f3eca8b4f1e9ff3c712519170f5c070ddbddff9
3 changes: 2 additions & 1 deletion trunk/arch/arm/mach-sa1100/assabet.c
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,8 @@ static void __init get_assabet_scr(void)
GPDR |= 0x3fc; /* Configure GPIO 9:2 as outputs */
GPSR = 0x3fc; /* Write 0xFF to GPIO 9:2 */
GPDR &= ~(0x3fc); /* Configure GPIO 9:2 as inputs */
for(i = 100; i--; scr = GPLR); /* Read GPIO 9:2 */
for(i = 100; i--; ) /* Read GPIO 9:2 */
scr = GPLR;
GPDR |= 0x3fc; /* restore correct pin direction */
scr &= 0x3fc; /* save as system configuration byte. */
SCR_value = scr;
Expand Down

0 comments on commit 0d7116b

Please sign in to comment.