]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: rcar: cleanup DMA for all kinds of failure
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Fri, 19 Oct 2018 19:15:26 +0000 (21:15 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Sat, 20 Oct 2018 13:25:59 +0000 (15:25 +0200)
commit25a8bbe83a3e9108aa38ec59eb7b831abe003a78
tree7389ea1d3cfd365ee474d4b0d2921434ac3b81fa
parent1bd0d5da2daee1b2d386dee33cbca0d6c360e5cc
i2c: rcar: cleanup DMA for all kinds of failure

DMA needs to be cleaned up not only on timeout, but on all errors where
it has been setup before.

Fixes: 672dc6fb3079 ("i2c: rcar: add DMA support")
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-rcar.c