Ohad Ben-Cohen <ohad@xxxxxxxxxx> writes: > On Mon, May 24, 2010 at 10:33 PM, Felipe Contreras > <felipe.contreras@xxxxxxxxx> wrote: >> On Mon, May 24, 2010 at 8:29 PM, Ohad Ben-Cohen <ohad@xxxxxxxxxx> wrote: >>> On Sat, May 22, 2010 at 8:25 PM, Felipe Contreras >>> <felipe.contreras@xxxxxxxxx> wrote: >>>> I played a bit with omap_hwmod/omap_device for the mailbox, and this is the >>>> result. >>> >>> Nice move Felipe :) >> >> Thanks :) >> >>> Can you convert this to use the runtime PM layer, instead of directly >>> calling omap_device functions via pdata ? >> >> Well, I didn't see anybody using omap_device, so I just assumed from >> reading the code. >> >> Recently I saw some patches using this pm_runtime stuff, but it seems >> to be for some pm branch... not sure which one. > > check out pm-wip/mmc on > git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm.git > :) Agreed, using runtime PM, you no longer need to call omap_device functions directly. As pointed out by Ohad, the pm-wip/mmc branch has an example conversion of the MMC driver with this approach. Kevin -- 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