Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 82248
b: refs/heads/master
c: 487dc92
h: refs/heads/master
v: v3
  • Loading branch information
Dmitry Baryshkov authored and Greg Kroah-Hartman committed Feb 1, 2008
1 parent 692c389 commit 1e4a12f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 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: e057a35aa140b5e5d01603f78845ad328dde302a
refs/heads/master: 487dc9225a8e7cc522177316abee7b1e272a2863
9 changes: 2 additions & 7 deletions trunk/arch/arm/mach-pxa/tosa.c
Original file line number Diff line number Diff line change
Expand Up @@ -157,15 +157,10 @@ static void tosa_udc_command(int cmd)
}
}

static int tosa_udc_is_connected(void)
{
return ((GPLR(TOSA_GPIO_USB_IN) & GPIO_bit(TOSA_GPIO_USB_IN)) == 0);
}


static struct pxa2xx_udc_mach_info udc_info __initdata = {
.udc_command = tosa_udc_command,
.udc_is_connected = tosa_udc_is_connected,
.gpio_vbus = TOSA_GPIO_USB_IN,
.gpio_vbus_inverted = 1,
};

/*
Expand Down

0 comments on commit 1e4a12f

Please sign in to comment.