PM / shmobile: Make TMU driver use pm_genpd_dev_always_on()
authorRafael J. Wysocki <rjw@sisk.pl>
Tue, 13 Mar 2012 21:40:00 +0000 (22:40 +0100)
committerRafael J. Wysocki <rjw@sisk.pl>
Fri, 16 Mar 2012 20:45:06 +0000 (21:45 +0100)
commit2ee619f9487c2acc1efdf2c78e68e2bd51b635fa
treea44a5c574d316ca9b27195a9939b84948dd10d0d
parent1e78a0c7fc92aee076965d516cf54475c39e9894
PM / shmobile: Make TMU driver use pm_genpd_dev_always_on()

Make the TMU clocksource driver mark its device as "always on"
using pm_genpd_dev_always_on() to protect it from surprise power
removals and make sh7372_add_standard_devices() add TMU devices on
sh7372 to the A4R power domain so that their "always on" flags
are taken into account as appropriate.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Tested-by: Simon Horman <horms@verge.net.au>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Cc: stable@vger.kernel.org
arch/arm/mach-shmobile/setup-sh7372.c
drivers/clocksource/sh_tmu.c