diff options
Diffstat (limited to 'drivers/usb/gadget/at91_udc.c')
-rw-r--r-- | drivers/usb/gadget/at91_udc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/gadget/at91_udc.c b/drivers/usb/gadget/at91_udc.c index 82369c4729b5..a4677802fb20 100644 --- a/drivers/usb/gadget/at91_udc.c +++ b/drivers/usb/gadget/at91_udc.c | |||
@@ -912,7 +912,7 @@ static void pullup(struct at91_udc *udc, int is_on) | |||
912 | at91_udp_write(udc, AT91_UDP_TXVC, 0); | 912 | at91_udp_write(udc, AT91_UDP_TXVC, 0); |
913 | if (cpu_is_at91rm9200()) | 913 | if (cpu_is_at91rm9200()) |
914 | at91_set_gpio_value(udc->board.pullup_pin, 1); | 914 | at91_set_gpio_value(udc->board.pullup_pin, 1); |
915 | else if (cpu_is_at91sam9260()) { | 915 | else if (cpu_is_at91sam9260() || cpu_is_at91sam9263()) { |
916 | u32 txvc = at91_udp_read(udc, AT91_UDP_TXVC); | 916 | u32 txvc = at91_udp_read(udc, AT91_UDP_TXVC); |
917 | 917 | ||
918 | txvc |= AT91_UDP_TXVC_PUON; | 918 | txvc |= AT91_UDP_TXVC_PUON; |
@@ -929,7 +929,7 @@ static void pullup(struct at91_udc *udc, int is_on) | |||
929 | at91_udp_write(udc, AT91_UDP_TXVC, AT91_UDP_TXVC_TXVDIS); | 929 | at91_udp_write(udc, AT91_UDP_TXVC, AT91_UDP_TXVC_TXVDIS); |
930 | if (cpu_is_at91rm9200()) | 930 | if (cpu_is_at91rm9200()) |
931 | at91_set_gpio_value(udc->board.pullup_pin, 0); | 931 | at91_set_gpio_value(udc->board.pullup_pin, 0); |
932 | else if (cpu_is_at91sam9260()) { | 932 | else if (cpu_is_at91sam9260() || cpu_is_at91sam9263()) { |
933 | u32 txvc = at91_udp_read(udc, AT91_UDP_TXVC); | 933 | u32 txvc = at91_udp_read(udc, AT91_UDP_TXVC); |
934 | 934 | ||
935 | txvc &= ~AT91_UDP_TXVC_PUON; | 935 | txvc &= ~AT91_UDP_TXVC_PUON; |