From: Wolfram Sang Date: Thu, 29 Jan 2015 17:33:16 +0000 (+0100) Subject: i2c: sh_mobile: terminate DMA reads properly X-Git-Tag: fixes-v4.0-rc1~216^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32e224090fa310a58fdb47049caf631272ceb044;p=pandora-kernel.git 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 Signed-off-by: Wolfram Sang --- Reading git-diff-tree failed