]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: wmt-sdmmc: Fix an error handling path in wmt_mci_probe()
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Thu, 22 Sep 2022 19:06:40 +0000 (21:06 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 27 Sep 2022 11:57:06 +0000 (13:57 +0200)
commit9df3ab9edd5c3589816b5f02d4d2d3fc97e1c272
tree4bd4a7ebf5ba9266ffbbffdf46d34178bd9272db
parent34371c6178db157ee8a95c1a39d3a2a9c187a33f
mmc: wmt-sdmmc: Fix an error handling path in wmt_mci_probe()

A dma_free_coherent() call is missing in the error handling path of the
probe, as already done in the remove function.

Fixes: fc37cbe8cbb4 ("mmc: SD/MMC Host Controller for Wondermedia WM8505/WM8650")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/53fc6ffa5d1c428fefeae7d313cf4a669c3a1e98.1663873255.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/wmt-sdmmc.c