Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1272557
| From | Felipe Balbi <balbi@ti.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] usb: musb: USB_TI_CPPI41_DMA requires dmaengine support |
| Date | 2015-11-18 21:50 +0100 |
| Message-ID | <qwhPY-84P-13@gated-at.bofh.it> (permalink) |
| References | <qwdCH-5iX-25@gated-at.bofh.it> <qwfEu-6Cj-13@gated-at.bofh.it> <qwhwC-7V2-31@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Hi, Arnd Bergmann <arnd@arndb.de> writes: > On Wednesday 18 November 2015 12:29:27 Bin Liu wrote: >> > 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 >> >> I am not sure what the generic policy is, but instead of hiding >> USB_TI_CPPI41_DMA if DMADEVICES is disabled, I'd like to enable >> DMADEVICES if USB_TI_CPPI41_DMA is enabled, from user experience >> perspective. > > General policy is that you should not 'select' a symbol that is > also user-visible, as that tends to cause dependency loops and > other problems when something is enabled without the user being > aware of that. > > Ideally we should remove the 'select TI_CPPI41' here as well, but > what we could do instead is to make that a silent symbol and remove > the prompt so it always gets enabled implicitly when USB_TI_CPPI41_DMA > and DMADEVICES are both enabled. that should be perfect now that Tony L fixed this up so we can enable all MUSB DMA Engines in a single zImage. -- balbi
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] usb: musb: USB_TI_CPPI41_DMA requires dmaengine support Arnd Bergmann <arnd@arndb.de> - 2015-11-18 17:20 +0100
Re: [PATCH] usb: musb: USB_TI_CPPI41_DMA requires dmaengine support Bin Liu <binmlist@gmail.com> - 2015-11-18 19:30 +0100
Re: [PATCH] usb: musb: USB_TI_CPPI41_DMA requires dmaengine support Felipe Balbi <balbi@ti.com> - 2015-11-18 20:30 +0100
Re: [PATCH] usb: musb: USB_TI_CPPI41_DMA requires dmaengine support Bin Liu <binmlist@gmail.com> - 2015-11-18 21:30 +0100
Re: [PATCH] usb: musb: USB_TI_CPPI41_DMA requires dmaengine support Felipe Balbi <balbi@ti.com> - 2015-11-18 21:40 +0100
Re: [PATCH] usb: musb: USB_TI_CPPI41_DMA requires dmaengine support Bin Liu <binmlist@gmail.com> - 2015-11-18 21:50 +0100
Re: [PATCH] usb: musb: USB_TI_CPPI41_DMA requires dmaengine support Arnd Bergmann <arnd@arndb.de> - 2015-11-18 21:30 +0100
Re: [PATCH] usb: musb: USB_TI_CPPI41_DMA requires dmaengine support Bin Liu <binmlist@gmail.com> - 2015-11-18 21:40 +0100
Re: [PATCH] usb: musb: USB_TI_CPPI41_DMA requires dmaengine support Arnd Bergmann <arnd@arndb.de> - 2015-11-18 22:10 +0100
Re: [PATCH] usb: musb: USB_TI_CPPI41_DMA requires dmaengine support Felipe Balbi <balbi@ti.com> - 2015-11-18 21:50 +0100
csiph-web