Re: [PATCH 02/12] clocksource: sh_mtu2: Add clk_prepare/unprepare support

2013-10-29 Thread Laurent Pinchart
Hi Sergei, On Tuesday 29 October 2013 15:15:09 Sergei Shtylyov wrote: > On 29-10-2013 2:49, Laurent Pinchart wrote: > > Prepare the clock at probe time, as there is no other appropriate place > > in the driver where we're allowed to sleep. > > > > Cc: Daniel Lezcano > > Cc:

Re: [PATCH 02/12] clocksource: sh_mtu2: Add clk_prepare/unprepare support

2013-10-29 Thread Sergei Shtylyov
Hello. On 29-10-2013 2:49, Laurent Pinchart wrote: Prepare the clock at probe time, as there is no other appropriate place in the driver where we're allowed to sleep. Cc: Daniel Lezcano Cc: linux-kernel@vger.kernel.org Signed-off-by: Laurent Pinchart --- drivers/clocksource/sh_mtu2.c |

Re: [PATCH 02/12] clocksource: sh_mtu2: Add clk_prepare/unprepare support

2013-10-29 Thread Sergei Shtylyov
Hello. On 29-10-2013 2:49, Laurent Pinchart wrote: Prepare the clock at probe time, as there is no other appropriate place in the driver where we're allowed to sleep. Cc: Daniel Lezcano daniel.lezc...@linaro.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Laurent Pinchart

Re: [PATCH 02/12] clocksource: sh_mtu2: Add clk_prepare/unprepare support

2013-10-29 Thread Laurent Pinchart
Hi Sergei, On Tuesday 29 October 2013 15:15:09 Sergei Shtylyov wrote: On 29-10-2013 2:49, Laurent Pinchart wrote: Prepare the clock at probe time, as there is no other appropriate place in the driver where we're allowed to sleep. Cc: Daniel Lezcano daniel.lezc...@linaro.org Cc:

Re: [PATCH 02/12] clocksource: sh_mtu2: Add clk_prepare/unprepare support

2013-10-28 Thread Simon Horman
On Mon, Oct 28, 2013 at 11:49:19PM +0100, Laurent Pinchart wrote: > Prepare the clock at probe time, as there is no other appropriate place > in the driver where we're allowed to sleep. > > Cc: Daniel Lezcano > Cc: linux-kernel@vger.kernel.org > Signed-off-by: Laurent Pinchart > --- >

[PATCH 02/12] clocksource: sh_mtu2: Add clk_prepare/unprepare support

2013-10-28 Thread Laurent Pinchart
Prepare the clock at probe time, as there is no other appropriate place in the driver where we're allowed to sleep. Cc: Daniel Lezcano Cc: linux-kernel@vger.kernel.org Signed-off-by: Laurent Pinchart --- drivers/clocksource/sh_mtu2.c | 16 ++-- 1 file changed, 14 insertions(+), 2

Re: [PATCH 02/12] clocksource: sh_mtu2: Add clk_prepare/unprepare support

2013-10-28 Thread Simon Horman
On Mon, Oct 28, 2013 at 11:49:19PM +0100, Laurent Pinchart wrote: Prepare the clock at probe time, as there is no other appropriate place in the driver where we're allowed to sleep. Cc: Daniel Lezcano daniel.lezc...@linaro.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Laurent Pinchart

[PATCH 02/12] clocksource: sh_mtu2: Add clk_prepare/unprepare support

2013-10-28 Thread Laurent Pinchart
Prepare the clock at probe time, as there is no other appropriate place in the driver where we're allowed to sleep. Cc: Daniel Lezcano daniel.lezc...@linaro.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com ---