commit | 87e392164ab6c0f3f055f8483dc7dc3f1afa19ad | [log] [tgz] |
---|---|---|
author | Mike Turquette <mturquette@linaro.org> | Wed Aug 27 15:36:37 2014 -0700 |
committer | Mike Turquette <mturquette@linaro.org> | Mon Sep 01 17:43:52 2014 -0700 |
tree | cf29e87ab8c5243a4771e782106259ca4ab50ed2 | |
parent | 69e273c0b0a3c337a521d083374c918dc52c666f [diff] |
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>