Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 289533
b: refs/heads/master
c: de07e18
h: refs/heads/master
i:
  289531: 1f4b016
v: v3
  • Loading branch information
Heikki Krogerus authored and Felipe Balbi committed Feb 13, 2012
1 parent 13fe853 commit fa89b1a
Show file tree
Hide file tree
Showing 4 changed files with 6 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: 8675381109b0eb1c948a423c2b35e3f4509cb25e
refs/heads/master: de07e18c00c403d5076a5a697d83fe3ced73bc30
2 changes: 1 addition & 1 deletion trunk/drivers/usb/otg/ab8500-usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ static int ab8500_usb_link_status_update(struct ab8500_usb *ab)
u8 reg;
enum ab8500_usb_link_status lsts;
void *v = NULL;
enum usb_xceiv_events event;
enum usb_phy_events event;

abx500_get_register_interruptible(ab->dev,
AB8500_USB,
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/usb/otg/twl4030-usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ twl4030_usb_clear_bits(struct twl4030_usb *twl, u8 reg, u8 bits)

/*-------------------------------------------------------------------------*/

static enum usb_xceiv_events twl4030_usb_linkstat(struct twl4030_usb *twl)
static enum usb_phy_events twl4030_usb_linkstat(struct twl4030_usb *twl)
{
int status;
int linkstat = USB_EVENT_NONE;
Expand Down
6 changes: 3 additions & 3 deletions trunk/include/linux/usb/otg.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ enum usb_otg_state {
OTG_STATE_A_VBUS_ERR,
};

enum usb_xceiv_events {
enum usb_phy_events {
USB_EVENT_NONE, /* no events or cable disconnected */
USB_EVENT_VBUS, /* vbus valid event */
USB_EVENT_ID, /* id was grounded */
Expand Down Expand Up @@ -66,15 +66,15 @@ struct usb_phy {

u8 default_a;
enum usb_otg_state state;
enum usb_xceiv_events last_event;
enum usb_phy_events last_event;

struct usb_bus *host;
struct usb_gadget *gadget;

struct otg_io_access_ops *io_ops;
void __iomem *io_priv;

/* for notification of usb_xceiv_events */
/* for notification of usb_phy_events */
struct atomic_notifier_head notifier;

/* to pass extra port status to the root hub */
Expand Down

0 comments on commit fa89b1a

Please sign in to comment.