From: Linus Torvalds Date: Sat, 26 May 2012 19:42:29 +0000 (-0700) Subject: Merge tag 'clock' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc X-Git-Tag: devel-late~39 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=27953437059c64d14086196eb96f43c78caa9db3;p=uclinux-h8%2Flinux.git Merge tag 'clock' of git://git./linux/kernel/git/arm/arm-soc Pull arm-soc clock driver changes from Olof Johansson: "The new clock subsystem was merged in linux-3.4 without any users, this now moves the first three platforms over to it: imx, mxs and spear. The series also contains the changes for the clock subsystem itself, since Mike preferred to have it together with the platforms that require these changes, in order to avoid interdependencies and conflicts." Fix up trivial conflicts in arch/arm/mach-kirkwood/common.c (code removed in one branch, added OF support in another) and drivers/dma/imx-sdma.c (independent changes next to each other). * tag 'clock' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (97 commits) clk: Fix CLK_SET_RATE_GATE flag validation in clk_set_rate(). clk: Provide dummy clk_unregister() SPEAr: Update defconfigs SPEAr: Add SMI NOR partition info in dts files SPEAr: Switch to common clock framework SPEAr: Call clk_prepare() before calling clk_enable SPEAr: clk: Add General Purpose Timer Synthesizer clock SPEAr: clk: Add Fractional Synthesizer clock SPEAr: clk: Add Auxiliary Synthesizer clock SPEAr: clk: Add VCO-PLL Synthesizer clock SPEAr: Add DT bindings for SPEAr's timer ARM i.MX: remove now unused clock files ARM: i.MX6: implement clocks using common clock framework ARM i.MX35: implement clocks using common clock framework ARM i.MX5: implement clocks using common clock framework ARM: Kirkwood: Replace clock gating ARM: Orion: Audio: Add clk/clkdev support ARM: Orion: PCIE: Add support for clk ARM: Orion: XOR: Add support for clk ARM: Orion: CESA: Add support for clk ... --- 27953437059c64d14086196eb96f43c78caa9db3 diff --cc drivers/dma/imx-sdma.c index a472a29d8497,fddccae6b476..fb4f4990f5eb --- a/drivers/dma/imx-sdma.c +++ b/drivers/dma/imx-sdma.c @@@ -323,8 -322,9 +323,9 @@@ struct sdma_engine struct sdma_context_data *context; dma_addr_t context_phys; struct dma_device dma_device; - struct clk *clk; + struct clk *clk_ipg; + struct clk *clk_ahb; - struct mutex channel_0_lock; + spinlock_t channel_0_lock; struct sdma_script_start_addrs *script_addrs; }; diff --cc drivers/mtd/nand/orion_nand.c index 0f50ef38b87b,fdc4786ea3e5..513dc88a05ca --- a/drivers/mtd/nand/orion_nand.c +++ b/drivers/mtd/nand/orion_nand.c @@@ -79,9 -79,9 +81,10 @@@ static int __init orion_nand_probe(stru struct nand_chip *nc; struct orion_nand_data *board; struct resource *res; + struct clk *clk; void __iomem *io_base; int ret = 0; + u32 val = 0; nc = kzalloc(sizeof(struct nand_chip) + sizeof(struct mtd_info), GFP_KERNEL); if (!nc) {