Re: [PATCH v6 3/7] ARM: shmobile: R-Mobile: Enable module clocks if !CONFIG_PM_RUNTIME

2014-12-04 Thread Geert Uytterhoeven
Hi Ulf, On Thu, Dec 4, 2014 at 2:41 PM, Ulf Hansson wrote: >> diff --git a/arch/arm/mach-shmobile/pm-rmobile.c >> b/arch/arm/mach-shmobile/pm-rmobile.c >> index 168046c355fc8368..6d912ce801aa88bd 100644 >> --- a/arch/arm/mach-shmobile/pm-rmobile.c >> +++ b/arch/arm/mach-shmobile/pm-rmobile.c >>

Re: [PATCH v6 3/7] ARM: shmobile: R-Mobile: Enable module clocks if !CONFIG_PM_RUNTIME

2014-12-04 Thread Ulf Hansson
On 3 December 2014 at 14:41, Geert Uytterhoeven wrote: > If CONFIG_PM_RUNTIME is not set, the clocks must be enabled before the > devices can be used. > > Currently these clocks are enabled by the !CONFIG_PM_RUNTIME version of > pm_clk_notify, activated by the hack in drivers/sh/pm_runtime.c, but

[PATCH v6 3/7] ARM: shmobile: R-Mobile: Enable module clocks if !CONFIG_PM_RUNTIME

2014-12-03 Thread Geert Uytterhoeven
If CONFIG_PM_RUNTIME is not set, the clocks must be enabled before the devices can be used. Currently these clocks are enabled by the !CONFIG_PM_RUNTIME version of pm_clk_notify, activated by the hack in drivers/sh/pm_runtime.c, but this will go away soon (at least for DT). On detach, disabling t