diff options
author | Johan Hovold <jhovold@gmail.com> | 2013-03-13 12:11:59 -0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2013-03-22 12:57:22 -0400 |
commit | 91cf54feecf815bec0b6a8d6d9dbd0e219f2f2cc (patch) | |
tree | 97bf59680c63526b921a0e069eb4caa1ec04317f /arch/avr32 | |
parent | 0f6e73d0abde95973354b4921b4d08acf01a8b5c (diff) |
mmc: at91/avr32/atmel-mci: fix DMA-channel leak on module unload
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.
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>
Diffstat (limited to 'arch/avr32')
-rw-r--r-- | arch/avr32/configs/favr-32_defconfig | 1 | ||||
-rw-r--r-- | arch/avr32/configs/merisc_defconfig | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/arch/avr32/configs/favr-32_defconfig b/arch/avr32/configs/favr-32_defconfig index 0421498d666b..97918204f795 100644 --- a/arch/avr32/configs/favr-32_defconfig +++ b/arch/avr32/configs/favr-32_defconfig | |||
@@ -122,7 +122,6 @@ CONFIG_USB_G_SERIAL=m | |||
122 | CONFIG_USB_CDC_COMPOSITE=m | 122 | CONFIG_USB_CDC_COMPOSITE=m |
123 | CONFIG_MMC=y | 123 | CONFIG_MMC=y |
124 | CONFIG_MMC_ATMELMCI=y | 124 | CONFIG_MMC_ATMELMCI=y |
125 | CONFIG_MMC_ATMELMCI_DMA=y | ||
126 | CONFIG_NEW_LEDS=y | 125 | CONFIG_NEW_LEDS=y |
127 | CONFIG_LEDS_CLASS=y | 126 | CONFIG_LEDS_CLASS=y |
128 | CONFIG_LEDS_ATMEL_PWM=m | 127 | CONFIG_LEDS_ATMEL_PWM=m |
diff --git a/arch/avr32/configs/merisc_defconfig b/arch/avr32/configs/merisc_defconfig index 3befab966827..65de4431108c 100644 --- a/arch/avr32/configs/merisc_defconfig +++ b/arch/avr32/configs/merisc_defconfig | |||
@@ -102,7 +102,6 @@ CONFIG_FRAMEBUFFER_CONSOLE=y | |||
102 | CONFIG_LOGO=y | 102 | CONFIG_LOGO=y |
103 | CONFIG_MMC=y | 103 | CONFIG_MMC=y |
104 | CONFIG_MMC_ATMELMCI=y | 104 | CONFIG_MMC_ATMELMCI=y |
105 | CONFIG_MMC_ATMELMCI_DMA=y | ||
106 | CONFIG_NEW_LEDS=y | 105 | CONFIG_NEW_LEDS=y |
107 | CONFIG_LEDS_CLASS=y | 106 | CONFIG_LEDS_CLASS=y |
108 | CONFIG_LEDS_ATMEL_PWM=y | 107 | CONFIG_LEDS_ATMEL_PWM=y |