From: Ben Dooks Date: Wed, 8 Feb 2006 21:09:05 +0000 (+0000) Subject: [ARM] 3303/1: S3C24XX - add clock enable usage counting X-Git-Tag: v2.6.16-rc3~56^2~15 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a513ce79958d47b72a11c76ec291c8c1169214c;p=pandora-kernel.git [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 Signed-off-by: Russell King --- Reading git-diff-tree failed