[RESEND PATCHv2 08/28] ARM: OMAP2+: clockdomain: add usecounting support to autoidle APIs

Tony Lindgren tony at atomide.com
Tue Jun 28 00:06:06 PDT 2016


* Tero Kristo <t-kristo at ti.com> [160613 12:08]:
> The previous implementation was racy in many locations, where the current
> status of the clockdomain was read out, some operations were executed,
> and the previous status info was used afterwards to decide next state
> for the clockdomain. Instead, fix the implementation of the allow_idle /
> deny_idle APIs to properly have usecounting support. This allows clean
> handling internally within the clockdomain core, and simplifies the
> usage also within hwmod.

Acked-by: Tony Lindgren <tony at atomide.com>

Or let me know if this can be picked separately.

Tony



More information about the linux-arm-kernel mailing list