Commit b219773957d2ee8fedb56f0fcb19288eb72d4867
Committed by
Minkyu Kang
1 parent
de8f7705aa
Exists in
v2017.01-smarct4x
and in
37 other branches
odroid: clock: set aclk_cores to 200MHz
This change fixes suspend/resume issue in the kernel caused by the wrong 'aclk_cores' clock value expected by the kernel. Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com> Cc: Minkyu Kang <mk7.kang@samsung.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
board/samsung/odroid/odroid.c
... | ... | @@ -158,10 +158,10 @@ |
158 | 158 | * For MOUThpm = 1000 MHz (MOUTapll) |
159 | 159 | * doutcopy = MOUThpm / (ratio + 1) = 200 (4) |
160 | 160 | * sclkhpm = doutcopy / (ratio + 1) = 200 (4) |
161 | - * cores_out = armclk / (ratio + 1) = 1000 (0) | |
161 | + * cores_out = armclk / (ratio + 1) = 200 (4) | |
162 | 162 | */ |
163 | 163 | clr = COPY_RATIO(7) | HPM_RATIO(7) | CORES_RATIO(7); |
164 | - set = COPY_RATIO(4) | HPM_RATIO(4) | CORES_RATIO(0); | |
164 | + set = COPY_RATIO(4) | HPM_RATIO(4) | CORES_RATIO(4); | |
165 | 165 | |
166 | 166 | clrsetbits_le32(&clk->div_cpu1, clr, set); |
167 | 167 |