Commit 11cfbfb098b22d3e57f1f2be217cad20e2d48463

Authored by Wolfram Sang
1 parent ca1f8da9ac

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/317

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Acked-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Cc: stable@kernel.org

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/i2c/busses/i2c-at91.c
... ... @@ -434,7 +434,7 @@
434 434 }
435 435 }
436 436  
437   - ret = wait_for_completion_io_timeout(&dev->cmd_complete,
  437 + ret = wait_for_completion_timeout(&dev->cmd_complete,
438 438 dev->adapter.timeout);
439 439 if (ret == 0) {
440 440 dev_err(dev->dev, "controller timed out\n");