Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933373AbbKRQTP (ORCPT ); Wed, 18 Nov 2015 11:19:15 -0500 Received: from mout.kundenserver.de ([212.227.126.131]:58240 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933311AbbKRQTM (ORCPT ); Wed, 18 Nov 2015 11:19:12 -0500 From: Arnd Bergmann To: balbi@ti.com Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman , George Cherian , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] usb: musb: USB_TI_CPPI41_DMA requires dmaengine support Date: Wed, 18 Nov 2015 17:18:40 +0100 Message-ID: <4370741.70D0kgBgnp@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:CTyH9awj0khW5Z/GnTTFvUyyogUmJ/hYw5av9AQq78BETkArMyo kPv98NV4tUVhKkaGoSjXpWhLEBfo3sBKLdYGTLsXJ+5CVK4nx6njyRdeb6FU2VSOQHLBz0B le6qFxfl0Os8Acu0SmeOfYzRpMj6qa0GXHBr8FIMaUscnWZ9jBGOLK/hxLTmgbP2suu5wmJ J+ujOK0y3RzuvsxzRJF7g== X-UI-Out-Filterresults: notjunk:1;V01:K0:xbOgZQuXoQc=:sretQXABfBc0T5KSS+uLP1 +FKopEnGYccRQN4eZdN5vHkNJH5wowbLnOu+XyFb0ckXx2B65aManWCmuXveTNiZ3UoxeKF2E zA8EUAtwysntpfBVQOCkjTjroPUs0N1JbsB8iBtYhfomt28RyfMdTwl1PSvBlLRgQkw8YgEaf AlStZUgOKGVXmiUNwEbwzUHEwF+Ue+PMfVue+dVbQu7N5WDBa+fA+b9O8ab/BGAgI57Oe2632 aPK6tqTmCXDjh9dN/nV8ThzdoqXxOJUnPMSpnrXI6eLfWnn+cU5frb1QzShnqKJpgmEsz1Wyc U2+rxJFc0gTNN8+ARSXQhwIK3DuHp5PJZ5yJBxsoW+zl06uAJp2dZvl6XRsQzuYxyyJ0LtbYl aXlXTPoKU7IQdO7kXg6JMvG1iGwPhNKEGEm4i8ek19JEi8Tb/2pPrPS0BadPrWFwcGx+JKEvW hjBkGbzApjh89RhX491tiHDbOqbQUXTmL402/zdP7M8J6fbA/1QxYbrJFZ32Q03r6QUOEXTuI wttQkzuulXxkWpvY8hSG+z1F+chLfUBxypxpvNrhvgoNzVFP41FDTHERtrY4Ht0DjAzTRajcH YryRl5o5fcKTKVBXH4MRjW1EnYUtwlujyZTJB4dT6sexUVpIGkcbB3NZskQ5q2am7R/Ckex1u I6CgqQmlv+cd9Iga+MOm9aErVTVe1C/MC1ohnmwraGT0dNSMrQgU3Zdtv0J+AnygtDEwkQ5Xg u58C0AS2E0OW241n Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1186 Lines: 32 The CPPI-4.1 driver selects TI_CPPI41, which is a dmaengine driver and that may not be available when CONFIG_DMADEVICES is not set: warning: (USB_TI_CPPI41_DMA) selects TI_CPPI41 which has unmet direct dependencies (DMADEVICES && ARCH_OMAP) This adds an extra dependency to avoid generating warnings in randconfig builds. Ideally we'd remove the 'select' statement, but that has the potential to break defconfig files. Signed-off-by: Arnd Bergmann Fixes: 411dd19c682d ("usb: musb: Kconfig: Select the DMA driver if DMA mode of MUSB is enabled") diff --git a/drivers/usb/musb/Kconfig b/drivers/usb/musb/Kconfig index 1f2037bbeb0d..45c83baf675d 100644 --- a/drivers/usb/musb/Kconfig +++ b/drivers/usb/musb/Kconfig @@ -159,7 +159,7 @@ config USB_TI_CPPI_DMA config USB_TI_CPPI41_DMA bool 'TI CPPI 4.1 (AM335x)' - depends on ARCH_OMAP + depends on ARCH_OMAP && DMADEVICES select TI_CPPI41 config USB_TUSB_OMAP_DMA -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/