On Wed, Apr 18, 2012 at 1:45 PM, Paul Walmsley <p...@pwsan.com> wrote: > Hi Tarun > > On Wed, 18 Apr 2012, DebBarma, Tarun Kanti wrote: > >> That' right, I confirmed that clk_get(NULL, "fck") does not work. > > Yes, you and Benoît are right, I should have looked more closely at what > was being patched. > >> For this to work we need the dev pointer in place of NULL. >> What is your alternate suggestion? Thanks. > > Rather than accessing the struct omap_hwmod field directly, > please, in a separate patch against omap_hwmod.c, create a function to > return the main clock. Something like "omap_hwmod_get_main_clk()". Sure. Thanks you. -- Tarun > > > - Paul -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
- [PATCH 0/3] ARM: OMAP2+: dmtimer: cleanup related to... Tarun Kanti DebBarma
- [PATCH 3/3] ARM: OMAP2+: dmtimer: cleanup fclk ... Tarun Kanti DebBarma
- Re: [PATCH 3/3] ARM: OMAP2+: dmtimer: clean... Paul Walmsley
- Re: [PATCH 3/3] ARM: OMAP2+: dmtimer: c... Cousson, Benoit
- Re: [PATCH 3/3] ARM: OMAP2+: dmtime... DebBarma, Tarun Kanti
- Re: [PATCH 3/3] ARM: OMAP2+: d... Paul Walmsley
- Re: [PATCH 3/3] ARM: OMAP2... DebBarma, Tarun Kanti
- [PATCH 2/3] ARM: OMAP2+: dmtimer: cleanup iclk ... Tarun Kanti DebBarma
- RE: [PATCH 2/3] ARM: OMAP2+: dmtimer: clean... Hiremath, Vaibhav
- Re: [PATCH 2/3] ARM: OMAP2+: dmtimer: c... DebBarma, Tarun Kanti
- RE: [PATCH 2/3] ARM: OMAP2+: dmtime... Hiremath, Vaibhav
- RE: [PATCH 2/3] ARM: OMAP2+: dmtimer: c... Paul Walmsley
- RE: [PATCH 2/3] ARM: OMAP2+: dmtime... Hiremath, Vaibhav
- Re: [PATCH 2/3] ARM: OMAP2+: dmtimer: clean... Paul Walmsley
- Re: [PATCH 2/3] ARM: OMAP2+: dmtimer: clean... Paul Walmsley
- Re: [PATCH 2/3] ARM: OMAP2+: dmtimer: c... DebBarma, Tarun Kanti
- Re: [PATCH 2/3] ARM: OMAP2+: dmtime... Paul Walmsley