diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2008-10-17 15:29:03 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-10-17 15:29:03 +0200 |
commit | 11cd4cb5f55cdc2f487b8c714610aa3538e28103 (patch) | |
tree | 81376ff23d9a706c3d4f45e5cf4d213e63abd2ed /arch/arm/plat-s3c24xx/pwm-clock.c | |
parent | [ARM] dmabounce requires ZONE_DMA (diff) | |
parent | [ARM] S3C24XX: Fix redefine of DEFINE_TIMER() in s3c24xx pwm-clock.c (diff) | |
download | linux-11cd4cb5f55cdc2f487b8c714610aa3538e28103.tar.xz linux-11cd4cb5f55cdc2f487b8c714610aa3538e28103.zip |
Merge branch 'for-rmk-fixes' of git://aeryn.fluff.org.uk/bjdooks/linux
Diffstat (limited to 'arch/arm/plat-s3c24xx/pwm-clock.c')
-rw-r--r-- | arch/arm/plat-s3c24xx/pwm-clock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-s3c24xx/pwm-clock.c b/arch/arm/plat-s3c24xx/pwm-clock.c index b8e854f1b1d5..3fad68a1e6bc 100644 --- a/arch/arm/plat-s3c24xx/pwm-clock.c +++ b/arch/arm/plat-s3c24xx/pwm-clock.c @@ -315,7 +315,7 @@ static int clk_pwm_tin_set_parent(struct clk *clk, struct clk *parent) if (parent == s3c24xx_pwmclk_tclk(id)) bits = S3C2410_TCFG1_MUX_TCLK << shift; else if (parent == s3c24xx_pwmclk_tdiv(id)) - bits = clk_pwm_tdiv_bits(to_tdiv(clk)) << shift; + bits = clk_pwm_tdiv_bits(to_tdiv(parent)) << shift; else return -EINVAL; |