Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 303980
b: refs/heads/master
c: da020b4
h: refs/heads/master
v: v3
  • Loading branch information
Shinya Kuribayashi authored and Greg Kroah-Hartman committed May 17, 2012
1 parent e9213a7 commit 24e2bcf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: 123bbceebeb1174e385eab1fc2b2535dcdcc9ec3
refs/heads/master: da020b49fa6ee7eaf9fe359bc6089dd1848bb7d0
5 changes: 2 additions & 3 deletions trunk/drivers/usb/otg/gpio_vbus.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ struct gpio_vbus_data {
* edges might be workable.
*/
#define VBUS_IRQ_FLAGS \
( IRQF_SAMPLE_RANDOM | IRQF_SHARED \
| IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING )
(IRQF_SHARED | IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING)


/* interface to regulator framework */
Expand Down Expand Up @@ -280,7 +279,7 @@ static int __init gpio_vbus_probe(struct platform_device *pdev)
if (res) {
irq = res->start;
res->flags &= IRQF_TRIGGER_MASK;
res->flags |= IRQF_SAMPLE_RANDOM | IRQF_SHARED;
res->flags |= IRQF_SHARED;
} else
irq = gpio_to_irq(gpio);

Expand Down

0 comments on commit 24e2bcf

Please sign in to comment.