Thread (1 message) 1 message, 1 author, 2013-03-22

[PATCH] ARM: at91/avr32/atmel-mci: fix DMA-channel leak on module unload

From: Chris Ball <hidden>
Date: 2013-03-22 16:58:43
Also in: linux-mmc, lkml, stable

Hi,

On Fri, Mar 15 2013, Ludovic Desroches wrote:
On Wed, Mar 13, 2013 at 05:11:59PM +0100, Johan Hovold wrote:
quoted
Fix regression introduced by commit 796211b7953 ("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.

Cc: stable <redacted>
Signed-off-by: Johan Hovold <redacted>
Hi Johan,

Good point so

Acked-by: Ludovic Desroches <redacted>
Thanks, I'll merge this via the MMC tree if no-one objects.

- Chris.
-- 
Chris Ball   [off-list ref]   <http://printf.net/>
One Laptop Per Child
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help