Skip to contentSkip to conversation

mfd: don't select DMA_DECLARE_COHERENT for the sm501 and tc6393xb drivers

PATCH Guenter Roeck 1 participant 1 message Sep 3, 2019 USB

lore
Share & tools
lore

Guenter Roeck

author Tested-by
#0 lore raw
Quoted 4 lines · Christoph Hellwig

Now that these drivers use the usb localmem pool there is no need to select DMA_DECLARE_COHERENT.

for SM501.

Quoted 27 lines
---
 drivers/mfd/Kconfig | 2 --
 1 file changed, 2 deletions(-)
drivers/mfd/Kconfig +0 -2
index f129f9678940..c8cbde59bbf6 100644
@@ -1105,7 +1105,6 @@ config MFD_SI476X_CORE
 config MFD_SM501
 	tristate "Silicon Motion SM501"
 	depends on HAS_DMA
-	select DMA_DECLARE_COHERENT
 	 ---help---
 	  This is the core driver for the Silicon Motion SM501 multimedia
 	  companion chip. This device is a multifunction device which may
@@ -1714,7 +1713,6 @@ config MFD_TC6393XB
 	select GPIOLIB
 	select MFD_CORE
 	select MFD_TMIO
-	select DMA_DECLARE_COHERENT
 	help
 	  Support for Toshiba Mobile IO Controller TC6393XB
 
Signature · 1 line
2.20.1