diff options
author | Thomas Abraham <thomas.ab@samsung.com> | 2010-05-17 00:38:44 (GMT) |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2010-05-17 01:37:36 (GMT) |
commit | 664f5b2065da188821fe5aa998c6351e8c042d98 (patch) | |
tree | 4284522929822a0c7bcc9dc13b9c8fdd466518cd /sound/sound_core.c | |
parent | 6ed91a202b3843d2fec51f00c31e65313ca00906 (diff) | |
download | linux-664f5b2065da188821fe5aa998c6351e8c042d98.tar.xz |
ARM: S5PV210: Fix clk_get_rate issue with the clk_h100 clock
The clk_h100 clock represents the IMEM clock for the MSYS domain.
This clock rate of this clock is always half of the hclk_msys clock.
There is an issue when getting the clock rate of the clk_h100 clock
(clock get_rate hclk_h100 always returns clock rate that is equal to
the hclk_msys clock rate).
This patch modifies the following.
1. Moves the definition of the clk_h100 clock into the 'init_clocks'
list with the appropriate parent, ctrlbit, enable and ops fields.
2. The name of the clock is changed from 'clk_h100' to 'hclk_imem'
to represent more clearly that is represents the IMEM clock in
the MSYS domain.
3. The function to get the clock rate of the hclk_imem clock is added.
Signed-off-by: Thomas Abraham <thomas.ab@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'sound/sound_core.c')
0 files changed, 0 insertions, 0 deletions