Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 187590
b: refs/heads/master
c: cda82f8
h: refs/heads/master
v: v3
  • Loading branch information
Valentin Longchamp authored and Sascha Hauer committed Feb 10, 2010
1 parent c29e184 commit bfa060d
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: f8594c283e409024d817e75027074570ce27dcc5
refs/heads/master: cda82f85c2bba92daa3d017f7c7bc5f8c61a2e11
7 changes: 4 additions & 3 deletions trunk/arch/arm/mach-mx3/mach-mx31moboard.c
Original file line number Diff line number Diff line change
Expand Up @@ -352,9 +352,7 @@ static struct fsl_usb2_platform_data usb_pdata = {

static int moboard_usbh2_hw_init(struct platform_device *pdev)
{
int ret = gpio_request(USBH2_EN_B, "usbh2-en");
if (ret)
return ret;
int ret;

mxc_iomux_set_gpr(MUX_PGP_UH2, true);

Expand All @@ -371,6 +369,9 @@ static int moboard_usbh2_hw_init(struct platform_device *pdev)
mxc_iomux_set_pad(MX31_PIN_SRXD3, USB_PAD_CFG);
mxc_iomux_set_pad(MX31_PIN_STXD3, USB_PAD_CFG);

ret = gpio_request(USBH2_EN_B, "usbh2-en");
if (ret)
return ret;
gpio_direction_output(USBH2_EN_B, 0);

return 0;
Expand Down

0 comments on commit bfa060d

Please sign in to comment.