diff options
author | Alexandre Pereira da Silva <aletes.xgr@gmail.com> | 2012-06-13 18:38:48 -0400 |
---|---|---|
committer | Roland Stigge <stigge@antcom.de> | 2012-06-14 10:16:19 -0400 |
commit | df072717eb0050326f0f63eed98200412c395831 (patch) | |
tree | 317bbb7b61f4da27fcac17b92899f3575148e026 /arch/arm/mach-lpc32xx/clock.c | |
parent | 5fe8f11ccb63298bcaab34994c3ca04fd6d30887 (diff) |
ARM: LPC32xx: Move i2s1 dma enabling to clock.c
Move i2s1 dma init to be done when it's clock is enabled.
Signed-off-by: Alexandre Pereira da Silva <aletes.xgr@gmail.com>
Signed-off-by: Roland Stigge <stigge@antcom.de>
Diffstat (limited to 'arch/arm/mach-lpc32xx/clock.c')
-rw-r--r-- | arch/arm/mach-lpc32xx/clock.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-lpc32xx/clock.c b/arch/arm/mach-lpc32xx/clock.c index 963d12a9fc3d..e8d315e6db09 100644 --- a/arch/arm/mach-lpc32xx/clock.c +++ b/arch/arm/mach-lpc32xx/clock.c | |||
@@ -718,7 +718,8 @@ static struct clk clk_i2s1 = { | |||
718 | .parent = &clk_hclk, | 718 | .parent = &clk_hclk, |
719 | .enable = local_onoff_enable, | 719 | .enable = local_onoff_enable, |
720 | .enable_reg = LPC32XX_CLKPWR_I2S_CLK_CTRL, | 720 | .enable_reg = LPC32XX_CLKPWR_I2S_CLK_CTRL, |
721 | .enable_mask = LPC32XX_CLKPWR_I2SCTRL_I2SCLK1_EN, | 721 | .enable_mask = LPC32XX_CLKPWR_I2SCTRL_I2SCLK1_EN | |
722 | LPC32XX_CLKPWR_I2SCTRL_I2S1_USE_DMA, | ||
722 | .get_rate = local_return_parent_rate, | 723 | .get_rate = local_return_parent_rate, |
723 | }; | 724 | }; |
724 | 725 | ||