Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 235337
b: refs/heads/master
c: 647b2d9
h: refs/heads/master
i:
  235335: bb26888
v: v3
  • Loading branch information
Hema HK authored and Felipe Balbi committed Feb 18, 2011
1 parent 35924f8 commit f1c2b26
Show file tree
Hide file tree
Showing 3 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: 070b8ed96e01adeb978d4f8487fb1350a28fcd0d
refs/heads/master: 647b2d9c61fe9a842dd89eb01b5f01e9d437993c
3 changes: 3 additions & 0 deletions trunk/drivers/usb/otg/twl6030-usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -262,11 +262,13 @@ static irqreturn_t twl6030_usb_irq(int irq, void *_twl)
twl->otg.default_a = false;
twl->otg.state = OTG_STATE_B_IDLE;
twl->linkstat = status;
twl->otg.last_event = status;
blocking_notifier_call_chain(&twl->otg.notifier,
status, twl->otg.gadget);
} else {
status = USB_EVENT_NONE;
twl->linkstat = status;
twl->otg.last_event = status;
blocking_notifier_call_chain(&twl->otg.notifier,
status, twl->otg.gadget);
if (twl->asleep) {
Expand Down Expand Up @@ -299,6 +301,7 @@ static irqreturn_t twl6030_usbotg_irq(int irq, void *_twl)
twl->otg.default_a = true;
twl->otg.state = OTG_STATE_A_IDLE;
twl->linkstat = status;
twl->otg.last_event = status;
blocking_notifier_call_chain(&twl->otg.notifier, status,
twl->otg.gadget);
} else {
Expand Down
1 change: 1 addition & 0 deletions trunk/include/linux/usb/otg.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ struct otg_transceiver {

u8 default_a;
enum usb_otg_state state;
enum usb_xceiv_events last_event;

struct usb_bus *host;
struct usb_gadget *gadget;
Expand Down

0 comments on commit f1c2b26

Please sign in to comment.