Hi, 2011/1/4 Felipe Balbi <me@xxxxxxxxxxxxxxx>: > Hi, > > On Tue, 2011-01-04 at 22:40 +0800, Ming Lei wrote: >> > The end goal is just to drop all these ad-hoc "APIs" for accessing DMA >> > on musb code. >> >> If this kind of DMA controllers are only used by MUSB, seems not >> necessary to convert to dmaengine API. Any benefit we can get >> from the convert? MUSB is cross-platform already after all. > > <irony> > correct, OMAP GPIO controller is only used on OMAPs, so why do we even > bother having gpiolib, right ? OMAP GPIOs have many usages or use cases, so we can use gpiolib to simplify access to GPIOs. If GPIOs has only one usage or use case, it is not necessary to access GPIOs by gpiolib. Now this kind of DMA controllers are only used by MUSB or only for MUSB, so it doesn't matter to access them by dmaengine or not. thanks, -- Lei Ming -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html