On Tue, Dec 27, 2011 at 3:41 AM, Felipe Contreras <[email protected]> wrote: > On Sun, Dec 25, 2011 at 2:03 AM, Ramirez Luna, Omar <[email protected]> > wrote: >> On Fri, Dec 23, 2011 at 11:04 AM, Felipe Contreras >> <[email protected]> wrote: >>> Which omap-iommu? The platform driver, or the device stuff? The device >>> stuff is always built-in, but not the platform driver >>> (drivers/iommu/omap-iommu.c), that can be a module. >> >> Both, I can't recall exactly when it changed (prior to being moved to >> drivers/iommu it could be built as a module), but now >> CONFIG_OMAP_IOMMU is boolean type. > > I see. Still, it looks like the proper way to use the API is to call > _enable() on the platform driver.
I'm sorry, I don't seem to follow... you want _enable in platform driver, and you call drivers/iommu/omap-iommu.c the platform driver... And that is precisely where pm_runtime_enable() is, no? Regards, Omar -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
