]> asedeno.scripts.mit.edu Git - linux.git/commit
i2c: rcar: refactor TCYC handling
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Tue, 5 Feb 2019 13:37:25 +0000 (14:37 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Fri, 8 Feb 2019 21:30:46 +0000 (22:30 +0100)
commit18769445ca55c2277d29e35ffda7e9a206b1758f
treee03145351230eb7f48733731600e91f90666c7b5
parent60c1d5605b67218cc600588af59260c0d1144495
i2c: rcar: refactor TCYC handling

The latest documentation made it clear that we need to initialize the
TCYC value independently of DMA. The old code used TCYC06 (wrongly) for
non-DMA transfers. The new code sets TCYC up independently from DMA.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-rcar.c