arm: bcm235xx: update clock framework
authorSteve Rae <srae@broadcom.com>
Tue, 21 Jun 2016 23:43:07 +0000 (16:43 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 24 Jun 2016 21:24:38 +0000 (17:24 -0400)
commit8ada4e0ee652d2108c640a4daaf63865ad8dedb1
tree9f8c4c1407385ce045bbf14c8ae40feec917006f
parent77a1a677a6db02377921cda1a146d18efb1f31ec
arm: bcm235xx: update clock framework

The handling of the "usage counter" is incorrect, and the clock should
only be disabled when transitioning from 1 to 0.

Reported-by: Chris Brand <chris.brand@broadcom.com>
Signed-off-by: Steve Rae <srae@broadcom.com>
arch/arm/cpu/armv7/bcm235xx/clk-core.c