aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/phy/twl4030.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/phy/twl4030.c')
-rw-r--r--drivers/usb/phy/twl4030.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/phy/twl4030.c b/drivers/usb/phy/twl4030.c
index f41cc07fe70..74f1dccbd49 100644
--- a/drivers/usb/phy/twl4030.c
+++ b/drivers/usb/phy/twl4030.c
@@ -66,7 +66,7 @@ static int twl4030_usb_read(u8 address)
u8 data;
int ret;
- ret = twl4030_i2c_read_u8(TWL4030_CHIP_USB, &data, address);
+ ret = twl4030_i2c_read_u8(TWL4030_CHIP_USB, address, &data);
if (ret == 0)
ret = data;
else