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

From: Chris Ball
Date: Fri Mar 22 2013 - 12:58:45 EST


Hi,

On Fri, Mar 15 2013, Ludovic Desroches wrote:
> On Wed, Mar 13, 2013 at 05:11:59PM +0100, Johan Hovold wrote:
>> 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 <stable@xxxxxxxxxxxxxxx>
>> Signed-off-by: Johan Hovold <jhovold@xxxxxxxxx>
>
> Hi Johan,
>
> Good point so
>
> Acked-by: Ludovic Desroches <ludovic.desroches@xxxxxxxxx>

Thanks, I'll merge this via the MMC tree if no-one objects.

- Chris.
--
Chris Ball <cjb@xxxxxxxxxx> <http://printf.net/>
One Laptop Per Child
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/