]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: stedma40: add missing iounmap() on error in d40_probe()
authorYang Yingliang <yangyingliang@huawei.com>
Tue, 18 May 2021 14:11:08 +0000 (22:11 +0800)
committerVinod Koul <vkoul@kernel.org>
Mon, 31 May 2021 04:17:27 +0000 (09:47 +0530)
commit0c69fd6e33e5a18d73cfcf49089fdc05f2eaf6b2
treea032897629c463dfa6d057061c742b103bf9ba22
parent47d5816b9ada861994577c81fccc290e037dcbc6
dmaengine: stedma40: add missing iounmap() on error in d40_probe()

Add the missing iounmap() before return from d40_probe()
in the error handling case.

Fixes: 1e8a21f98c86 ("DMAENGINE: Support for ST-Ericssons DMA40 block v3")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20210518141108.1324127-1-yangyingliang@huawei.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/ste_dma40.c