Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 74939
b: refs/heads/master
c: 08cbc70
h: refs/heads/master
i:
  74937: e32d67c
  74935: 01467c0
v: v3
  • Loading branch information
Nicolas Ferre authored and Greg Kroah-Hartman committed Dec 17, 2007
1 parent 4d75b7d commit 225d779
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 442258e2ff69276ff767f3703b30ce6a31fdd181
refs/heads/master: 08cbc706acd2dd601b0663e28fa97ffb0564e105
2 changes: 2 additions & 0 deletions trunk/drivers/usb/gadget/at91_udc.c
Original file line number Diff line number Diff line change
Expand Up @@ -887,6 +887,7 @@ static void pullup(struct at91_udc *udc, int is_on)

if (is_on) {
clk_on(udc);
at91_udp_write(udc, AT91_UDP_ICR, AT91_UDP_RXRSM);
at91_udp_write(udc, AT91_UDP_TXVC, 0);
if (cpu_is_at91rm9200())
at91_set_gpio_value(udc->board.pullup_pin, 1);
Expand All @@ -904,6 +905,7 @@ static void pullup(struct at91_udc *udc, int is_on)
}
} else {
stop_activity(udc);
at91_udp_write(udc, AT91_UDP_IDR, AT91_UDP_RXRSM);
at91_udp_write(udc, AT91_UDP_TXVC, AT91_UDP_TXVC_TXVDIS);
if (cpu_is_at91rm9200())
at91_set_gpio_value(udc->board.pullup_pin, 0);
Expand Down

0 comments on commit 225d779

Please sign in to comment.