commit | 8b2463d8cae2dda0c98ab5a15f25a0350a0e998d | [log] [tgz] |
---|---|---|
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | Tue Mar 04 15:25:56 2014 +0100 |
committer | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | Wed Jul 02 16:01:50 2014 +0200 |
tree | 5c314dcdf601781735b00b03b2fbc381e282e1ce | |
parent | 1a5da0e43be0c07462e445549dbdd4a1731a3e11 [diff] |
clocksource: sh_mtu2: Replace global spinlock with a per-device spinlock The global spinlock is used to protect the shared start/stop register. Now that all MTU2 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: Wolfram Sang <wsa@sang-engineering.com>