]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
3.4-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Jul 2012 22:45:01 +0000 (15:45 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Jul 2012 22:45:01 +0000 (15:45 -0700)
added patches:
arm-samsung-update-default-rate-for-xusbxti-clock.patch

queue-3.4/arm-samsung-update-default-rate-for-xusbxti-clock.patch [new file with mode: 0644]
queue-3.4/series

diff --git a/queue-3.4/arm-samsung-update-default-rate-for-xusbxti-clock.patch b/queue-3.4/arm-samsung-update-default-rate-for-xusbxti-clock.patch
new file mode 100644 (file)
index 0000000..9c646e7
--- /dev/null
@@ -0,0 +1,36 @@
+From bdd3cc26ba651e33780ade33f1410320cf2d0cf4 Mon Sep 17 00:00:00 2001
+From: Tushar Behera <tushar.behera@linaro.org>
+Date: Thu, 12 Jul 2012 18:06:28 +0900
+Subject: ARM: SAMSUNG: Update default rate for xusbxti clock
+
+From: Tushar Behera <tushar.behera@linaro.org>
+
+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 <tushar.behera@linaro.org>
+Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ arch/arm/plat-s5p/clock.c |    1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/arch/arm/plat-s5p/clock.c
++++ b/arch/arm/plat-s5p/clock.c
+@@ -38,6 +38,7 @@ struct clk clk_ext_xtal_mux = {
+ struct clk clk_xusbxti = {
+       .name           = "xusbxti",
+       .id             = -1,
++      .rate           = 24000000,
+ };
+ struct clk s5p_clk_27m = {
index cc3091d9b6e20ddc3d3cb093b108c0ea93e8185c..bd718492a18034910ca600d5953c32cd66609abc 100644 (file)
@@ -19,3 +19,4 @@ pnfs-obj-don-t-leak-objio_state-if-ore_write-read-fails.patch
 dm-thin-do-not-send-discards-to-shared-blocks.patch
 dm-raid1-fix-crash-with-mirror-recovery-and-discard.patch
 dm-raid1-set-discard_zeroes_data_unsupported.patch
+arm-samsung-update-default-rate-for-xusbxti-clock.patch