|
@@ -654,13 +654,14 @@ omap_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg msgs[], int num)
|
|
|
break;
|
|
|
}
|
|
|
|
|
|
- if (dev->set_mpu_wkup_lat != NULL)
|
|
|
- dev->set_mpu_wkup_lat(dev->dev, -1);
|
|
|
-
|
|
|
if (r == 0)
|
|
|
r = num;
|
|
|
|
|
|
omap_i2c_wait_for_bb(dev);
|
|
|
+
|
|
|
+ if (dev->set_mpu_wkup_lat != NULL)
|
|
|
+ dev->set_mpu_wkup_lat(dev->dev, -1);
|
|
|
+
|
|
|
out:
|
|
|
pm_runtime_mark_last_busy(dev->dev);
|
|
|
pm_runtime_put_autosuspend(dev->dev);
|