[PATCH] OMAP2+: PM: fix watchdog boot when runtime PM is disabled
Hilman, Kevin
khilman at ti.com
Mon Jul 11 19:38:33 EDT 2011
On Mon, Jul 11, 2011 at 4:21 PM, Kevin Hilman <khilman at ti.com> wrote:
> Fix boot crash in watchdog driver when runtime PM is disabled.
>
> When runtime PM is disabled, devices should be left enabled so that
> all device accesses in drivers will succeed even though the runtime PM
> get/put calls are noops.
>
> This is already the case for all devices, but the WDT init has its
> own hwmod postsetup which was not taking this into account.
>
> This fixes a boot crash where the first device access in the WDT probe
> function would crash a booting kernel.
>
> Cc: Paul Walmsley <paul at pwsan.com>
> Signed-off-by: Kevin Hilman <khilman at ti.com>
> ---
> Tony, as this is a boot crash, it should probably be queued for v3.0.
> However, since OMAP2PLUS_TYPICAL always enables runtime PM, this is
> unlikely to be seen unless specifically testing with runtime PM disabled.
I forgot to mention that I added this fix to my for_3.0/pm-fixes-3 branch.
Kevin
More information about the linux-arm-kernel
mailing list