Re: [RFC 2/2] clk: per-user clock accounting for debug

2012-12-01 Thread Linus Walleij
On Wed, Nov 28, 2012 at 12:52 PM, Rabin Vincent wrote: > When a clock has multiple users, the WARNING on imbalance of > enable/disable may not show the guilty party since although they may > have commited the error earlier, the warning is emitted later when some > other user, presumably innocent,

[RFC 2/2] clk: per-user clock accounting for debug

2012-11-28 Thread Rabin Vincent
When a clock has multiple users, the WARNING on imbalance of enable/disable may not show the guilty party since although they may have commited the error earlier, the warning is emitted later when some other user, presumably innocent, disables the clock. Provide per-user clock enable/disable accou