Commit 0b19933d authored by Wolfram Sang's avatar Wolfram Sang Committed by Luis Henriques

i2c: at91: don't account as iowait

commit 11cfbfb0 upstream.

iowait is for blkio [1]. I2C shouldn't use it.

[1] https://lkml.org/lkml/2014/11/3/317Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
Acked-by: default avatarLudovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: default avatarLuis Henriques <luis.henriques@canonical.com>
parent 6ae35c94
...@@ -434,7 +434,7 @@ static int at91_do_twi_transfer(struct at91_twi_dev *dev) ...@@ -434,7 +434,7 @@ static int at91_do_twi_transfer(struct at91_twi_dev *dev)
} }
} }
ret = wait_for_completion_io_timeout(&dev->cmd_complete, ret = wait_for_completion_timeout(&dev->cmd_complete,
dev->adapter.timeout); dev->adapter.timeout);
if (ret == 0) { if (ret == 0) {
dev_err(dev->dev, "controller timed out\n"); dev_err(dev->dev, "controller timed out\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment