]> www.infradead.org Git - users/jedix/linux-maple.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Nov 2018 19:14:51 +0000 (11:14 -0800)
commitfd83130bdbe48a0d4e6e650f37073d80b80d7adc
tree214278b2e8b38fb5350b3c6e40d39f53b3552aaf
parent5832fa5bd0324847ef5a256f36dd1e80caa2b024
i2c: rcar: cleanup DMA for all kinds of failure

[ Upstream commit 31d86033a0749a0463ea654130b2de5c163154f1 ]

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

Fixes: 73e8b0528346 ("i2c: rcar: add DMA support")
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/i2c/busses/i2c-rcar.c