commit | 2a513ce79958d47b72a11c76ec291c8c1169214c | [log] [tgz] |
---|---|---|
author | Ben Dooks <ben-linux@fluff.org> | Wed Feb 08 21:09:05 2006 +0000 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Wed Feb 08 21:09:05 2006 +0000 |
tree | 2698cdc04f710d80da77ed36f6e3aad6d5e9fa57 | |
parent | f8e5b28413a8bf0b421dd116b30ab2d3befec629 [diff] |
[ARM] 3303/1: S3C24XX - add clock enable usage counting Patch from Ben Dooks Move to using an enable count for the shared clocks and protect the clock system using a mutex instead of just disabling IRQs during the clock update. Since there is little more code in the path for non-shared clocks, the enable and disable calls use the same code for each. Signed-off-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>