Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 191919
b: refs/heads/master
c: 2d2e0c8
h: refs/heads/master
i:
  191917: 041c910
  191915: 37bed61
  191911: 0296bfa
  191903: ebb5cd2
v: v3
  • Loading branch information
Ben Dooks committed May 6, 2010
1 parent 710aef4 commit c8def42
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 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: db61ac54c9bea389b98f88cb4a23f8dd1edde07f
refs/heads/master: 2d2e0c89982c532f9da6891a733b7be43c7048ce
7 changes: 4 additions & 3 deletions trunk/arch/arm/mach-s3c2410/mach-qt2410.c
Original file line number Diff line number Diff line change
Expand Up @@ -219,10 +219,10 @@ static void spi_gpio_cs(struct s3c2410_spigpio_info *spi, int cs)
{
switch (cs) {
case BITBANG_CS_ACTIVE:
s3c2410_gpio_setpin(S3C2410_GPB(5), 0);
gpio_set_value(S3C2410_GPB(5), 0);
break;
case BITBANG_CS_INACTIVE:
s3c2410_gpio_setpin(S3C2410_GPB(5), 1);
gpio_set_value(S3C2410_GPB(5), 1);
break;
}
}
Expand Down Expand Up @@ -353,7 +353,8 @@ static void __init qt2410_machine_init(void)
s3c24xx_udc_set_platdata(&qt2410_udc_cfg);
s3c_i2c0_set_platdata(NULL);

s3c2410_gpio_cfgpin(S3C2410_GPB(5), S3C2410_GPIO_OUTPUT);
WARN_ON(gpio_request(S3C2410_GPB(5), "spi cs"));
gpio_direction_output(S3C2410_GPB(5), 1);

platform_add_devices(qt2410_devices, ARRAY_SIZE(qt2410_devices));
s3c_pm_init();
Expand Down

0 comments on commit c8def42

Please sign in to comment.