Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 201288
b: refs/heads/master
c: 98a0f86
h: refs/heads/master
v: v3
  • Loading branch information
Bruno Randolf authored and Ralf Baechle committed Jul 26, 2010
1 parent e0a1563 commit d7f621a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 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: 1ed845375b1f2938acc4496a186e180892b00c71
refs/heads/master: 98a0f86a54bb195c28ae1ccb5a5f5cda12cf7121
8 changes: 3 additions & 5 deletions trunk/arch/mips/alchemy/mtx-1/board_setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ static void mtx1_power_off(void)

void __init board_setup(void)
{
alchemy_gpio2_enable();

#if defined(CONFIG_USB_OHCI_HCD) || defined(CONFIG_USB_OHCI_HCD_MODULE)
/* Enable USB power switch */
alchemy_gpio_direction_output(204, 0);
Expand Down Expand Up @@ -117,11 +115,11 @@ mtx1_pci_idsel(unsigned int devsel, int assert)

if (assert && devsel != 0)
/* Suppress signal to Cardbus */
gpio_set_value(1, 0); /* set EXT_IO3 OFF */
alchemy_gpio_set_value(1, 0); /* set EXT_IO3 OFF */
else
gpio_set_value(1, 1); /* set EXT_IO3 ON */
alchemy_gpio_set_value(1, 1); /* set EXT_IO3 ON */

au_sync_udelay(1);
udelay(1);
return 1;
}

Expand Down

0 comments on commit d7f621a

Please sign in to comment.