]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
dmaengine: axi-dmac: add a check for devm_regmap_init_mmio
authorChuhong Yuan <hslester96@gmail.com>
Mon, 9 Dec 2019 08:57:11 +0000 (16:57 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Feb 2020 21:34:19 +0000 (16:34 -0500)
commit2cf2b620af7b59269b3fe24182b18e119f03628f
tree8c25ffc289a349018c3addf8a35c33ecb0451286
parenteada328f7f9bc4807fdf071861558fb131c09f85
dmaengine: axi-dmac: add a check for devm_regmap_init_mmio

commit a5b982af953bcc838cd198b0434834cc1dff14ec upstream.

The driver misses checking the result of devm_regmap_init_mmio().
Add a check to fix it.

Fixes: fc15be39a827 ("dmaengine: axi-dmac: add regmap support")
Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Reviewed-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Link: https://lore.kernel.org/r/20191209085711.16001-1-hslester96@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/dma/dma-axi-dmac.c