commit | 32e224090fa310a58fdb47049caf631272ceb044 | [log] [tgz] |
---|---|---|
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | Thu Jan 29 18:33:16 2015 +0100 |
committer | Wolfram Sang <wsa@the-dreams.de> | Fri Jan 30 17:58:43 2015 +0100 |
tree | 09d15847c50950c5125a2b05ddaa3a683dcb3a3c | |
parent | d5fd120e7860c2b3d4c936a2ebadb6b244bec4c8 [diff] |
i2c: sh_mobile: terminate DMA reads properly DMA read requests could miss proper termination, so two more bytes would have been read via PIO overwriting the end of the buffer with wrong data. Make DMA stop handling more readable while we are here. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>