On Sun, Apr 13, 2014 at 7:48 PM, Xuelin Shi <xuelin.shi@xxxxxxxxxxxxx> wrote: > Hi Dan, > > fsl dma device and fsl raid device are two differenct devices that both provide async_memcpy > capability, so I use !FSL_DMA to disable the fsl dma device. > > That's to say, either select fsldma device, either fsl raid device. > Right, but that's not what your proposed Kconfig dependency line does. You want something like "depends on FSL_SOC && !(FSL_DMA || FSL_DMA=m)" However, the more problematic option is ASYNC_TX_CHANNEL_SWITCH. That option is problematic for RAID, so I propose "depend on !ASYNC_TX_CHANNEL_SWITCH" since that addresses both problems. -- To unsubscribe from this list: send the line "unsubscribe dmaengine" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html