-
- Downloads
mmc: at91/avr32/atmel-mci: fix DMA-channel leak on module unload
Fix regression introduced by commit 796211b7 ("mmc: atmel-mci: add pdc support and runtime capabilities detection") which removed the need for CONFIG_MMC_ATMELMCI_DMA but kept the Kconfig-entry as well as the compile guards around dma_release_channel() in remove(). Consequently, DMA is always enabled (if supported), but the DMA-channel is not released on module unload unless the DMA-config option is selected. Remove the no longer used CONFIG_MMC_ATMELMCI_DMA option completely. Signed-off-by:Johan Hovold <jhovold@gmail.com> Acked-by:
Ludovic Desroches <ludovic.desroches@atmel.com> Cc: stable <stable@vger.kernel.org> Signed-off-by:
Chris Ball <cjb@laptop.org>
Showing
- arch/arm/configs/at91sam9g45_defconfig 0 additions, 1 deletionarch/arm/configs/at91sam9g45_defconfig
- arch/avr32/configs/favr-32_defconfig 0 additions, 1 deletionarch/avr32/configs/favr-32_defconfig
- arch/avr32/configs/merisc_defconfig 0 additions, 1 deletionarch/avr32/configs/merisc_defconfig
- drivers/mmc/host/Kconfig 0 additions, 10 deletionsdrivers/mmc/host/Kconfig
- drivers/mmc/host/atmel-mci.c 0 additions, 2 deletionsdrivers/mmc/host/atmel-mci.c
Loading
Please register or sign in to comment