Skip to content

Commit a22ad13

Browse files
trbeheragregkh
authored andcommitted
ARM: SAMSUNG: Update default rate for xusbxti clock
commit bdd3cc26ba651e33780ade33f1410320cf2d0cf4 upstream. The rate of xusbxti clock is set in individual machine files. The default value should be defined at the clock definition and individual machine files should modify it if required. Division by zero in kernel. [<c0011849>] (unwind_backtrace+0x1/0x9c) from [<c022c663>] (Ldiv0+0x9/0x12) [<c022c663>] (Ldiv0+0x9/0x12) from [<c001a3c3>] (s3c_setrate_clksrc+0x33/0x78) [<c001a3c3>] (s3c_setrate_clksrc+0x33/0x78) from [<c0019e67>] (clk_set_rate+0x2f/0x78) Signed-off-by: Tushar Behera <[email protected]> Signed-off-by: Kukjin Kim <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 5a4db9e commit a22ad13

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/arm/plat-s5p/clock.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ struct clk clk_ext_xtal_mux = {
3838
struct clk clk_xusbxti = {
3939
.name = "xusbxti",
4040
.id = -1,
41+
.rate = 24000000,
4142
};
4243

4344
struct clk s5p_clk_27m = {

0 commit comments

Comments
 (0)