summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2018-06-28 22:45:38 +0200
committerWolfram Sang <wsa@the-dreams.de>2018-07-23 20:10:56 +0200
commit3b770017b03a4cdfde0b61a49b4801dc8cca9f69 (patch)
tree9c0acfd899adff2fd0dc3acc688fe15401d0ae46 /kernel
parent263fe5d45dcd0c610e41d1662f83cdd43b881cc5 (diff)
downloadlinux-stable-3b770017b03a4cdfde0b61a49b4801dc8cca9f69.tar.gz
linux-stable-3b770017b03a4cdfde0b61a49b4801dc8cca9f69.tar.bz2
linux-stable-3b770017b03a4cdfde0b61a49b4801dc8cca9f69.zip
i2c: rcar: handle RXDMA HW behaviour on Gen3
On Gen3, we can only do RXDMA once per transfer reliably. For that, we must reset the device, then we can have RXDMA once. This patch implements this. When there is no reset controller or the reset fails, RXDMA will be blocked completely. Otherwise, it will be disabled after the first RXDMA transfer. Based on a commit from the BSP by Hiromitsu Yamasaki, yet completely refactored to handle multiple read messages within one transfer. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions