summaryrefslogtreecommitdiffstats
path: root/drivers/input
diff options
context:
space:
mode:
authorMike Turquette <mturquette@linaro.org>2014-08-28 00:36:37 +0200
committerMike Turquette <mturquette@linaro.org>2014-09-02 02:43:52 +0200
commit87e392164ab6c0f3f055f8483dc7dc3f1afa19ad (patch)
treecf29e87ab8c5243a4771e782106259ca4ab50ed2 /drivers/input
parentLinux 3.17-rc3 (diff)
downloadlinux-87e392164ab6c0f3f055f8483dc7dc3f1afa19ad.tar.xz
linux-87e392164ab6c0f3f055f8483dc7dc3f1afa19ad.zip
clk: mvebu: share locks between gate clocks
Refactor mvebu_clk_gating_setup() to use a common spinlock instead of a unique lock for every instance of a struct clk_gating_ctrl object. This will be used later for a separate mux clock type that shares a register with gate clock types and needs to use the same lock to protect access to the register. Cc: Andrew Lunn <andrew@lunn.ch> Tested-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/input')
0 files changed, 0 insertions, 0 deletions