Skip to content

Commit

Permalink
[ARM] pxa: fix pxa27x_udc default pullup GPIO
Browse files Browse the repository at this point in the history
Currently, pxa27x_udc tries to use GPIO 0 as D+ pullup if not
explicitly configured. Default to an invalid GPIO (-1) instead.

Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Eric Miao <eric.miao@marvell.com>
  • Loading branch information
Philipp Zabel authored and Eric Miao committed Jun 4, 2009
1 parent d81e77f commit 1257629
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion arch/arm/mach-pxa/devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,10 @@ void __init pxa_set_mci_info(struct pxamci_platform_data *info)
}


static struct pxa2xx_udc_mach_info pxa_udc_info;
static struct pxa2xx_udc_mach_info pxa_udc_info = {
.gpio_pullup = -1,
.gpio_vbus = -1,
};

void __init pxa_set_udc_info(struct pxa2xx_udc_mach_info *info)
{
Expand Down

0 comments on commit 1257629

Please sign in to comment.