Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 77436
b: refs/heads/master
c: da7a42d
h: refs/heads/master
v: v3
  • Loading branch information
Christian Glindkamp authored and Russell King committed Jan 26, 2008
1 parent 315375e commit b9180ae
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 1b41bdf68a72c1fd506ee3dbfbf954fd2eaef75c
refs/heads/master: da7a42d60ba214937ddb35152f336a4e4baa49a6
6 changes: 1 addition & 5 deletions trunk/arch/arm/mach-at91/at91sam9261_devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,6 @@ static struct platform_device at91sam9261_udc_device = {

void __init at91_add_device_udc(struct at91_udc_data *data)
{
unsigned long x;

if (!data)
return;

Expand All @@ -117,9 +115,7 @@ void __init at91_add_device_udc(struct at91_udc_data *data)
at91_set_deglitch(data->vbus_pin, 1);
}

/* Pullup pin is handled internally */
x = at91_sys_read(AT91_MATRIX_USBPUCR);
at91_sys_write(AT91_MATRIX_USBPUCR, x | AT91_MATRIX_USBPUCR_PUON);
/* Pullup pin is handled internally by USB device peripheral */

udc_data = *data;
platform_device_register(&at91sam9261_udc_device);
Expand Down

0 comments on commit b9180ae

Please sign in to comment.