]> git.baikalelectronics.ru Git - kernel.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)
commitf13192445a83375e16d0309762d3f443e4b28bbc
treef9e548ba17bf89320f4c40ecebe403a75ea7efae
parente5b409e9bb5c0a59f3e007a87aa07957c673447f
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