diff options
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2014-03-04 09:25:56 -0500 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2014-07-02 10:01:50 -0400 |
commit | 8b2463d8cae2dda0c98ab5a15f25a0350a0e998d (patch) | |
tree | 5c314dcdf601781735b00b03b2fbc381e282e1ce /drivers/clocksource/clksrc-of.c | |
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>
Diffstat (limited to 'drivers/clocksource/clksrc-of.c')
0 files changed, 0 insertions, 0 deletions