Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 74339
b: refs/heads/master
c: 5f629ad
h: refs/heads/master
i:
  74337: 728ac92
  74335: 1c695d8
v: v3
  • Loading branch information
Ben Dooks authored and Greg Kroah-Hartman committed Nov 28, 2007
1 parent 3914fc9 commit 324b464
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 8802bca4feed9e60d22a91cc5ccb1c4a1d8e3d71
refs/heads/master: 5f629ad7e5f9b99c6d025bf199d402734bd72d0f
4 changes: 4 additions & 0 deletions trunk/drivers/usb/gadget/s3c2410_udc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1511,7 +1511,11 @@ static irqreturn_t s3c2410_udc_vbus_irq(int irq, void *_dev)
unsigned int value;

dprintk(DEBUG_NORMAL, "%s()\n", __func__);

/* some cpus cannot read from an line configured to IRQ! */
s3c2410_gpio_cfgpin(udc_info->vbus_pin, S3C2410_GPIO_INPUT);
value = s3c2410_gpio_getpin(udc_info->vbus_pin);
s3c2410_gpio_cfgpin(udc_info->vbus_pin, S3C2410_GPIO_SFN2);

if (udc_info->vbus_pin_inverted)
value = !value;
Expand Down

0 comments on commit 324b464

Please sign in to comment.