Re: musb_hdrc and tusb6010 loop

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Thu, May 01, 2014 at 11:13:19PM +0400, Matwey V. Kornilov wrote:
> 
> Hi,
> 
> With the following configure options, musb_hdrc and tusb6010 make dependency
> loop:
> 
> CONFIG_USB_MUSB_HDRC=m
> CONFIG_USB_MUSB_TUSB6010=m
> CONFIG_USB_TUSB_OMAP_DMA=y
> 
> tusb6010.ko provides function `tusb_get_revision` which is used by
> tusb6010_omap.o which is a part of musb_hdrc.ko
> 
> In its turn, tusb6010.ko uses much of functions provided by musb_hdrc.ko
> 
> What could be a solution to this?

don't let tusb6010_omap use any symbols from tusb6010.ko. the _omap
variant is just an adapter for the private DMA API (should be moved to
dmaengine, actually) and as such, it shouldn't know details about
tusb6010 (which doesn't exactly depend on the underlying DMA).

-- 
balbi

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux