]> 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)
commit75a0607209d690f3b59c709e96422f93c7cdc493
tree7389ea1d3cfd365ee474d4b0d2921434ac3b81fa
parent734207df945e44f0fbd9a4224dd5ec9be2bf2543
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: 2f5b9ea07bd0 ("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