commit | de599c8843ebbdfc29a119c94af481b1de76700e | [log] [tgz] |
---|---|---|
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | Mon Feb 17 16:49:05 2014 +0100 |
committer | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | Wed Jul 02 16:01:48 2014 +0200 |
tree | f3c1aa973374bc1c9a29ebdc80e5ef28fbe19c91 | |
parent | 31e912f598371bcfdffc990289029e1110f8b3f9 [diff] |
clocksource: sh_cmt: Replace global spinlock with a per-device spinlock The global spinlock is used to protect the shared start/stop register. Now that all CMT channels are handled by a single device instance, use a per-device spinlock. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Tested-by: Simon Horman <horms+renesas@verge.net.au>