Commit 11cfbfb0 authored by Wolfram Sang's avatar Wolfram Sang

i2c: at91: don't account as iowait

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>
Cc: stable@kernel.org
parent ca1f8da9
...@@ -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