]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
clk/zynq/clkc: Add dedicated spinlock for the SWDT
authorSoren Brinkmann <soren.brinkmann@xilinx.com>
Mon, 17 Jun 2013 22:03:46 +0000 (15:03 -0700)
committerMike Turquette <mturquette@linaro.org>
Tue, 13 Aug 2013 17:01:55 +0000 (10:01 -0700)
commit252957cc3a2d59179df1a2d44d219e07dc5c3f06
treef9e548ba17bf89320f4c40ecebe403a75ea7efae
parentd4e4ab86bcba5a72779c43dc1459f71fea3d89c8
clk/zynq/clkc: Add dedicated spinlock for the SWDT

The clk_mux for the system watchdog timer reused the register lock
dedicated to the Ethernet module - for no apparent reason.
Add a lock dedicated to the SWDT's clock register to remove this
wrong dependency.

This does not fix a specific regression but the clock driver was merged
for 3.11-rc1, so best to fix the known bugs before the release.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
[mturquette@linaro.org: added to changelog]
drivers/clk/zynq/clkc.c