i2c: rcar: use adapter default for timeout
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Sat, 20 Jun 2015 19:03:19 +0000 (21:03 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 23 Jun 2015 17:50:10 +0000 (19:50 +0200)
commitefd2c6118e49152bea891706432ac3c9579836fe
treeffea2be11a39b6e891d6288efc8a7e3b6177db45
parentedfc39012364a6ea8e4c7067c2655c92c2d02df4
i2c: rcar: use adapter default for timeout

5 seconds is a very large timeout, and it is hardcoded. Use the default
timeout from 'struct adapter' which is 1 second. It can also be modified
from userspace for specific workloads via i2c-dev.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-rcar.c