diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2018-06-28 23:45:38 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2018-07-24 15:56:12 +0300 |
commit | 2b16fd63059ab9a46d473620749672dc342e1d21 (patch) | |
tree | 79df77bec181d92ef8b194bbd42bd2e51cda06cb /fs/dcookies.c | |
parent | 9f9e3e0d4dd3338b3f3dde080789f71901e1e4ff (diff) | |
download | linux-2b16fd63059ab9a46d473620749672dc342e1d21.tar.xz |
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>
Cc: stable@kernel.org
Diffstat (limited to 'fs/dcookies.c')
0 files changed, 0 insertions, 0 deletions