Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 191990
b: refs/heads/master
c: 8a19ebb
h: refs/heads/master
v: v3
  • Loading branch information
Ben Dooks committed May 7, 2010
1 parent 7d45686 commit ed444bb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 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: 271d323237a1ab96b74c69fa48a8612963245266
refs/heads/master: 8a19ebb0938752af8da142c4731f310bb8f9d130
10 changes: 6 additions & 4 deletions trunk/arch/arm/mach-s3c2410/mach-n30.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,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 @@ -357,11 +357,11 @@ static void n30_sdi_set_power(unsigned char power_mode, unsigned short vdd)
switch (power_mode) {
case MMC_POWER_ON:
case MMC_POWER_UP:
s3c2410_gpio_setpin(S3C2410_GPG(4), 1);
gpio_set_value(S3C2410_GPG(4), 1);
break;
case MMC_POWER_OFF:
default:
s3c2410_gpio_setpin(S3C2410_GPG(4), 0);
gpio_set_value(S3C2410_GPG(4), 0);
break;
}
}
Expand Down Expand Up @@ -561,6 +561,8 @@ static void __init n30_init_irq(void)

static void __init n30_init(void)
{
WARN_ON(gpio_request(S3C2410_GPG(4), "mmc power"));

s3c24xx_fb_set_platdata(&n30_fb_info);
s3c24xx_udc_set_platdata(&n30_udc_cfg);
s3c24xx_mci_set_platdata(&n30_mci_cfg);
Expand Down

0 comments on commit ed444bb

Please sign in to comment.