Re: [PATCH v5 4/5] iommu/omap: adapt to runtime pm

2012-11-22 Thread Felipe Contreras
On Tue, Nov 20, 2012 at 2:05 AM, Omar Ramirez Luna wrote: > @@ -1022,7 +1019,8 @@ static int __devexit omap_iommu_remove(struct > platform_device *pdev) > release_mem_region(res->start, resource_size(res)); > iounmap(obj->regbase); > > - clk_put(obj->clk); > + pm_runt

Re: [PATCH v5 4/5] iommu/omap: adapt to runtime pm

2012-11-21 Thread Tony Lindgren
* Omar Ramirez Luna [121119 17:08]: > Use runtime PM functionality interfaced with hwmod enable/idle > functions, to replace direct clock operations and sysconfig > handling. > > Due to reset sequence, pm_runtime_[get|put]_sync must be used, to > avoid possible operations with the module under re