Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 334556
b: refs/heads/master
c: 69da85e
h: refs/heads/master
v: v3
  • Loading branch information
Alexandre Pereira da Silva authored and Felipe Balbi committed Oct 16, 2012
1 parent e02e0bd commit 06dc288
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: d5c6a1e024dd5acd6ad2e1a6eb6a2fd5c15c50f1
refs/heads/master: 69da85edbab5cd42909d3ba65b3dad1c1fb40206
4 changes: 2 additions & 2 deletions trunk/drivers/usb/gadget/lpc32xx_udc.c
Original file line number Diff line number Diff line change
Expand Up @@ -2930,10 +2930,10 @@ static void vbus_work(struct work_struct *work)

/* Get the VBUS status from the transceiver */
value = i2c_smbus_read_byte_data(udc->isp1301_i2c_client,
ISP1301_I2C_OTG_CONTROL_2);
ISP1301_I2C_INTERRUPT_SOURCE);

/* VBUS on or off? */
if (value & OTG_B_SESS_VLD)
if (value & INT_SESS_VLD)
udc->vbus = 1;
else
udc->vbus = 0;
Expand Down

0 comments on commit 06dc288

Please sign in to comment.