staging: omap-thermal: update clock prepare count
authorEduardo Valentin <eduardo.valentin@ti.com>
Tue, 26 Feb 2013 22:53:38 +0000 (18:53 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 11 Mar 2013 16:48:54 +0000 (09:48 -0700)
commitf1d07f33321d10d92ab74fdab0340c1f14c106a4
treed43b38dac4529e20a25cf75d4f06a360acdaf2ca
parent687ad31ca3debfbc6803a323018f3bfc00a03b98
staging: omap-thermal: update clock prepare count

This patch changes the clock management code to also update
the clock prepare counter, this way we won't skip the enable/disable
operation due to prepare dependencies.

Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/omap-thermal/omap-bandgap.c