diff options
author | Josh Boyer <jwboyer@redhat.com> | 2013-05-09 14:40:24 -0400 |
---|---|---|
committer | Josh Boyer <jwboyer@redhat.com> | 2013-05-09 15:34:59 -0400 |
commit | 6391f4231e94834812a2e34b20dd5b0fdac48b65 (patch) | |
tree | 276efbc3720637db199d0dde07dad57da5344518 | |
parent | ea30261517dc73a105ff81ad326e45e1aea0923a (diff) | |
download | kernel-6391f4231e94834812a2e34b20dd5b0fdac48b65.tar.gz kernel-6391f4231e94834812a2e34b20dd5b0fdac48b65.tar.xz kernel-6391f4231e94834812a2e34b20dd5b0fdac48b65.zip |
Linux v3.9-12070-g8cbc95e
-rw-r--r-- | arm-of-dma.patch | 43 | ||||
-rw-r--r-- | config-armv7 | 1 | ||||
-rw-r--r-- | kernel.spec | 8 | ||||
-rw-r--r-- | sources | 2 |
4 files changed, 6 insertions, 48 deletions
diff --git a/arm-of-dma.patch b/arm-of-dma.patch deleted file mode 100644 index c3223a4e6..000000000 --- a/arm-of-dma.patch +++ /dev/null @@ -1,43 +0,0 @@ -From 7362f04c2888b14c20f8aaa02e1a897025261768 Mon Sep 17 00:00:00 2001 -From: Viresh Kumar <viresh.kumar@linaro.org> -Date: Fri, 15 Mar 2013 08:48:20 +0000 -Subject: DMA: OF: Check properties value before running be32_to_cpup() on it - -In of_dma_controller_register() routine we are calling of_get_property() as an -parameter to be32_to_cpup(). In case the property doesn't exist we will get a -crash. - -This patch changes this code to check if we got a valid property first and then -runs be32_to_cpup() on it. - -Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> -Signed-off-by: Vinod Koul <vinod.koul@intel.com> ---- -diff --git a/drivers/dma/of-dma.c b/drivers/dma/of-dma.c -index 6036cd0..00db454 100644 ---- a/drivers/dma/of-dma.c -+++ b/drivers/dma/of-dma.c -@@ -93,6 +93,7 @@ int of_dma_controller_register(struct device_node *np, - { - struct of_dma *ofdma; - int nbcells; -+ const __be32 *prop; - - if (!np || !of_dma_xlate) { - pr_err("%s: not enough information provided\n", __func__); -@@ -103,8 +104,11 @@ int of_dma_controller_register(struct device_node *np, - if (!ofdma) - return -ENOMEM; - -- nbcells = be32_to_cpup(of_get_property(np, "#dma-cells", NULL)); -- if (!nbcells) { -+ prop = of_get_property(np, "#dma-cells", NULL); -+ if (prop) -+ nbcells = be32_to_cpup(prop); -+ -+ if (!prop || !nbcells) { - pr_err("%s: #dma-cells property is missing or invalid\n", - __func__); - kfree(ofdma); --- -cgit v0.9.1 diff --git a/config-armv7 b/config-armv7 index 9b14ce3df..47a1837b1 100644 --- a/config-armv7 +++ b/config-armv7 @@ -73,6 +73,7 @@ CONFIG_MMC_MVSDIO=m CONFIG_SPI_ORION=m CONFIG_USB_MV_UDC=m CONFIG_MVEBU_MBUS=y +CONFIG_ARMADA_THERMAL=m # omap CONFIG_ARCH_OMAP2PLUS_TYPICAL=y diff --git a/kernel.spec b/kernel.spec index a12f403ec..59e699c8e 100644 --- a/kernel.spec +++ b/kernel.spec @@ -95,7 +95,7 @@ Summary: The Linux kernel # The rc snapshot level %define rcrev 0 # The git snapshot level -%define gitrev 23 +%define gitrev 24 # Set rpm version accordingly %define rpmversion 3.%{upstream_sublevel}.0 %endif @@ -696,8 +696,6 @@ Patch14010: lis3-improve-handling-of-null-rate.patch # ARM Patch21000: arm-export-read_current_timer.patch -# https://lists.ozlabs.org/pipermail/devicetree-discuss/2013-March/029029.html -Patch21001: arm-of-dma.patch # lpae Patch21002: arm-lpae-ax88796.patch @@ -1287,7 +1285,6 @@ ApplyPatch debug-bad-pte-modules.patch # ARM # ApplyPatch arm-export-read_current_timer.patch -ApplyPatch arm-of-dma.patch ApplyPatch arm-lpae-ax88796.patch ApplyPatch arm-tegra-usb-no-reset-linux33.patch #pplyPatch arm-tegra-fixclk.patch @@ -2240,6 +2237,9 @@ fi # ||----w | # || || %changelog +* Thu May 09 2013 Josh Boyer <jwboyer@redhat.com> - 3.10.0-0.rc0.git24.1 +- Linux v3.9-12070-g8cbc95e + * Thu May 9 2013 Peter Robinson <pbrobinson@fedoraproject.org> - Enable DMA for ARM sound drivers @@ -1,2 +1,2 @@ 4348c9b6b2eb3144d601e87c19d5d909 linux-3.9.tar.xz -65a492a373014ce0452e960a108c3c90 patch-3.9-git23.xz +debe429cf6a3eef328807abca676a5d0 patch-3.9-git24.xz |