diff options
author | Dave Jones <davej@redhat.com> | 2005-11-29 15:48:34 -0500 |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2005-11-29 15:48:34 -0500 |
commit | be37bdbce7ceaacf4f20c6cc759efbe75ebd1196 (patch) | |
tree | f1a42fb5a4a17eea41d47d2c002fa303009f5523 /arch/arm/mach-sa1100/assabet.c | |
parent | 019a61b99338d0ac05de25317b85da88e7ec4b35 (diff) | |
parent | d70aa5e4b54aa7e704c886838715ac8a45d5750f (diff) |
Merge ../linus
Diffstat (limited to 'arch/arm/mach-sa1100/assabet.c')
-rw-r--r-- | arch/arm/mach-sa1100/assabet.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-sa1100/assabet.c b/arch/arm/mach-sa1100/assabet.c index 75efb5da5b6d..a66ac61233a2 100644 --- a/arch/arm/mach-sa1100/assabet.c +++ b/arch/arm/mach-sa1100/assabet.c | |||
@@ -293,7 +293,8 @@ static void __init get_assabet_scr(void) | |||
293 | GPDR |= 0x3fc; /* Configure GPIO 9:2 as outputs */ | 293 | GPDR |= 0x3fc; /* Configure GPIO 9:2 as outputs */ |
294 | GPSR = 0x3fc; /* Write 0xFF to GPIO 9:2 */ | 294 | GPSR = 0x3fc; /* Write 0xFF to GPIO 9:2 */ |
295 | GPDR &= ~(0x3fc); /* Configure GPIO 9:2 as inputs */ | 295 | GPDR &= ~(0x3fc); /* Configure GPIO 9:2 as inputs */ |
296 | for(i = 100; i--; scr = GPLR); /* Read GPIO 9:2 */ | 296 | for(i = 100; i--; ) /* Read GPIO 9:2 */ |
297 | scr = GPLR; | ||
297 | GPDR |= 0x3fc; /* restore correct pin direction */ | 298 | GPDR |= 0x3fc; /* restore correct pin direction */ |
298 | scr &= 0x3fc; /* save as system configuration byte. */ | 299 | scr &= 0x3fc; /* save as system configuration byte. */ |
299 | SCR_value = scr; | 300 | SCR_value = scr; |