Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 208809
b: refs/heads/master
c: a68fefe
h: refs/heads/master
i:
  208807: 7fcf78d
v: v3
  • Loading branch information
Kukjin Kim committed Aug 9, 2010
1 parent 411af39 commit a253548
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: 25da496f3978e7ea40472e167dedf8e8e45ad031
refs/heads/master: a68fefe0d2f364ac3d8497ef37dcad713c261103
7 changes: 5 additions & 2 deletions trunk/arch/arm/mach-s5pv210/setup-sdhci-gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ void s5pv210_setup_sdhci2_cfg_gpio(struct platform_device *dev, int width)

void s5pv210_setup_sdhci3_cfg_gpio(struct platform_device *dev, int width)
{
struct s3c_sdhci_platdata *pdata = dev->dev.platform_data;
unsigned int gpio;

/* Set all the necessary GPG3[0:2] pins to special-function 2 */
Expand All @@ -129,6 +130,8 @@ void s5pv210_setup_sdhci3_cfg_gpio(struct platform_device *dev, int width)
s3c_gpio_setpull(gpio, S3C_GPIO_PULL_NONE);
}

s3c_gpio_setpull(S5PV210_GPG3(2), S3C_GPIO_PULL_UP);
s3c_gpio_cfgpin(S5PV210_GPG3(2), S3C_GPIO_SFN(2));
if (pdata->cd_type == S3C_SDHCI_CD_INTERNAL) {
s3c_gpio_setpull(S5PV210_GPG3(2), S3C_GPIO_PULL_UP);
s3c_gpio_cfgpin(S5PV210_GPG3(2), S3C_GPIO_SFN(2));
}
}

0 comments on commit a253548

Please sign in to comment.