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

From: [email-masked] (Tony Lindgren)
Date: Tue, 28 Jun 2016 00:06:06 -0700

* Tero Kristo <[email-masked]> [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 <[email-masked]>

Or let me know if this can be picked separately.

Tony