Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 191920
b: refs/heads/master
c: 96efa8d
h: refs/heads/master
v: v3
  • Loading branch information
Ben Dooks committed May 6, 2010
1 parent c8def42 commit 7e1d623
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 2d2e0c89982c532f9da6891a733b7be43c7048ce
refs/heads/master: 96efa8dac85372fdddb1682949b468226126e333
7 changes: 5 additions & 2 deletions trunk/arch/arm/mach-s3c2410/mach-n30.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@ static void n30_udc_pullup(enum s3c2410_udc_cmd_e cmd)
{
switch (cmd) {
case S3C2410_UDC_P_ENABLE :
s3c2410_gpio_setpin(S3C2410_GPB(3), 1);
gpio_set_value(S3C2410_GPB(3), 1);
break;
case S3C2410_UDC_P_DISABLE :
s3c2410_gpio_setpin(S3C2410_GPB(3), 0);
gpio_set_value(S3C2410_GPB(3), 0);
break;
case S3C2410_UDC_P_RESET :
break;
Expand Down Expand Up @@ -536,6 +536,9 @@ static void __init n30_init(void)

platform_add_devices(n35_devices, ARRAY_SIZE(n35_devices));
}

WARN_ON(gpio_request(S3C2410_GPB(3), "udc pup"));
gpio_direction_output(S3C2410_GPB(3), 0);
}

MACHINE_START(N30, "Acer-N30")
Expand Down

0 comments on commit 7e1d623

Please sign in to comment.