Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 191922
b: refs/heads/master
c: 7614e1d
h: refs/heads/master
v: v3
  • Loading branch information
Ben Dooks committed May 6, 2010
1 parent 17d7e3d commit d14d9fe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 408c8b8ca46c16fa09a6795613db74a8d2de7980
refs/heads/master: 7614e1d9b9cad40ac9c90d934d2da64b36f354d1
5 changes: 3 additions & 2 deletions trunk/arch/arm/mach-s3c2410/mach-vr1000.c
Original file line number Diff line number Diff line change
Expand Up @@ -357,8 +357,7 @@ static struct clk *vr1000_clocks[] __initdata = {

static void vr1000_power_off(void)
{
s3c2410_gpio_cfgpin(S3C2410_GPB(9), S3C2410_GPIO_OUTPUT);
s3c2410_gpio_setpin(S3C2410_GPB(9), 1);
gpio_direction_output(S3C2410_GPB(9), 1);
}

static void __init vr1000_map_io(void)
Expand Down Expand Up @@ -395,6 +394,8 @@ static void __init vr1000_init(void)

nor_simtec_init();
simtec_audio_add(NULL, true, NULL);

WARN_ON(gpio_request(S3C2410_GPB(9), "power off"));
}

MACHINE_START(VR1000, "Thorcom-VR1000")
Expand Down

0 comments on commit d14d9fe

Please sign in to comment.