diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-02 16:24:47 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-02 16:24:47 -0400 |
commit | 22237d5a588cfad92525d2998ff14d3666399dce (patch) | |
tree | 0f76b3a9febe573702669628fadaaab6c5725634 /drivers | |
parent | fc76a258d41eea7953bb763397c3d1e589d3bb98 (diff) | |
parent | 6b9a39de73490abb93a0b48a5e6c417c518f3a59 (diff) |
Merge tag 'fixes-non-critical-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull ARM SoC non-cricitical bug fixes from Arnd Bergmann:
"These are various bug fixes that were not considered important enough
for merging into 3.10.
The majority of the ARM fixes are for the OMAP and at91 platforms, and
there is another set of bug fixes for device drivers that resolve
'randconfig' build errors and that the subsystem maintainers either
did not pick up or preferred to get merged through the arm-soc tree."
* tag 'fixes-non-critical-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (43 commits)
ARM: at91/PMC: use at91_usb_rate() for UTMI PLL
ARM: at91/PMC: fix at91sam9n12 USB FS init
ARM: at91/PMC: at91sam9n12 family has a PLLB
ARM: at91/PMC: sama5d3 family doesn't have a PLLB
ARM: tegra: fix section mismatch in tegra_pmc_parse_dt
ARM: mxs: don't select HAVE_PWM
ARM: mxs: stub out mxs_pm_init for !CONFIG_PM
cpuidle: calxeda: select ARM_CPU_SUSPEND
ARM: mvebu: fix length of ethernet registers in mv78260 dtsi
ARM: at91: cpuidle: Fix target_residency
ARM: at91: fix at91_extern_irq usage for non-dt boards
ARM: sirf: use CONFIG_SIRF rather than CONFIG_PRIMA2 where necessary
clocksource: kona: adapt to CLOCKSOURCE_OF_DECLARE change
X.509: do not emit any informational output
mtd: omap2: allow bulding as a module
[SCSI] nsp32: use mdelay instead of large udelay constants
hwrng: bcm2835: fix MODULE_LICENSE tag
ARM: at91: Change the internal SRAM memory type MT_MEMORY_NONCACHED
ARM: at91: Fix link breakage when !CONFIG_PHYLIB
MAINTAINERS: Add exynos filename match to ARM/S5P EXYNOS ARM ARCHITECTURES
...
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/char/hw_random/bcm2835-rng.c | 2 | ||||
-rw-r--r-- | drivers/clk/Makefile | 2 | ||||
-rw-r--r-- | drivers/clocksource/bcm_kona_timer.c | 15 | ||||
-rw-r--r-- | drivers/cpuidle/Kconfig | 1 | ||||
-rw-r--r-- | drivers/gpio/gpio-msm-v1.c | 2 | ||||
-rw-r--r-- | drivers/i2c/busses/Kconfig | 2 | ||||
-rw-r--r-- | drivers/irqchip/irq-renesas-irqc.c | 4 | ||||
-rw-r--r-- | drivers/mtd/nand/Kconfig | 2 | ||||
-rw-r--r-- | drivers/scsi/nsp32.c | 2 | ||||
-rw-r--r-- | drivers/spi/Kconfig | 2 | ||||
-rw-r--r-- | drivers/ssbi/ssbi.c | 1 | ||||
-rw-r--r-- | drivers/tty/serial/Kconfig | 2 |
12 files changed, 16 insertions, 21 deletions
diff --git a/drivers/char/hw_random/bcm2835-rng.c b/drivers/char/hw_random/bcm2835-rng.c index eb7f14725ebd..43577ca780e3 100644 --- a/drivers/char/hw_random/bcm2835-rng.c +++ b/drivers/char/hw_random/bcm2835-rng.c | |||
@@ -110,4 +110,4 @@ module_platform_driver(bcm2835_rng_driver); | |||
110 | 110 | ||
111 | MODULE_AUTHOR("Lubomir Rintel <lkundrak@v3.sk>"); | 111 | MODULE_AUTHOR("Lubomir Rintel <lkundrak@v3.sk>"); |
112 | MODULE_DESCRIPTION("BCM2835 Random Number Generator (RNG) driver"); | 112 | MODULE_DESCRIPTION("BCM2835 Random Number Generator (RNG) driver"); |
113 | MODULE_LICENSE("GPLv2"); | 113 | MODULE_LICENSE("GPL v2"); |
diff --git a/drivers/clk/Makefile b/drivers/clk/Makefile index 137d3e730f86..f0e46997bb12 100644 --- a/drivers/clk/Makefile +++ b/drivers/clk/Makefile | |||
@@ -18,7 +18,7 @@ obj-$(CONFIG_ARCH_SOCFPGA) += socfpga/ | |||
18 | obj-$(CONFIG_PLAT_SPEAR) += spear/ | 18 | obj-$(CONFIG_PLAT_SPEAR) += spear/ |
19 | obj-$(CONFIG_ARCH_U300) += clk-u300.o | 19 | obj-$(CONFIG_ARCH_U300) += clk-u300.o |
20 | obj-$(CONFIG_COMMON_CLK_VERSATILE) += versatile/ | 20 | obj-$(CONFIG_COMMON_CLK_VERSATILE) += versatile/ |
21 | obj-$(CONFIG_ARCH_PRIMA2) += clk-prima2.o | 21 | obj-$(CONFIG_ARCH_SIRF) += clk-prima2.o |
22 | obj-$(CONFIG_PLAT_ORION) += mvebu/ | 22 | obj-$(CONFIG_PLAT_ORION) += mvebu/ |
23 | ifeq ($(CONFIG_COMMON_CLK), y) | 23 | ifeq ($(CONFIG_COMMON_CLK), y) |
24 | obj-$(CONFIG_ARCH_MMP) += mmp/ | 24 | obj-$(CONFIG_ARCH_MMP) += mmp/ |
diff --git a/drivers/clocksource/bcm_kona_timer.c b/drivers/clocksource/bcm_kona_timer.c index 350f49356458..ba3d85904c9a 100644 --- a/drivers/clocksource/bcm_kona_timer.c +++ b/drivers/clocksource/bcm_kona_timer.c | |||
@@ -103,16 +103,10 @@ static const struct of_device_id bcm_timer_ids[] __initconst = { | |||
103 | {}, | 103 | {}, |
104 | }; | 104 | }; |
105 | 105 | ||
106 | static void __init kona_timers_init(void) | 106 | static void __init kona_timers_init(struct device_node *node) |
107 | { | 107 | { |
108 | struct device_node *node; | ||
109 | u32 freq; | 108 | u32 freq; |
110 | 109 | ||
111 | node = of_find_matching_node(NULL, bcm_timer_ids); | ||
112 | |||
113 | if (!node) | ||
114 | panic("No timer"); | ||
115 | |||
116 | if (!of_property_read_u32(node, "clock-frequency", &freq)) | 110 | if (!of_property_read_u32(node, "clock-frequency", &freq)) |
117 | arch_timer_rate = freq; | 111 | arch_timer_rate = freq; |
118 | else | 112 | else |
@@ -199,13 +193,12 @@ static struct irqaction kona_timer_irq = { | |||
199 | .handler = kona_timer_interrupt, | 193 | .handler = kona_timer_interrupt, |
200 | }; | 194 | }; |
201 | 195 | ||
202 | static void __init kona_timer_init(void) | 196 | static void __init kona_timer_init(struct device_node *node) |
203 | { | 197 | { |
204 | kona_timers_init(); | 198 | kona_timers_init(node); |
205 | kona_timer_clockevents_init(); | 199 | kona_timer_clockevents_init(); |
206 | setup_irq(timers.tmr_irq, &kona_timer_irq); | 200 | setup_irq(timers.tmr_irq, &kona_timer_irq); |
207 | kona_timer_set_next_event((arch_timer_rate / HZ), NULL); | 201 | kona_timer_set_next_event((arch_timer_rate / HZ), NULL); |
208 | } | 202 | } |
209 | 203 | ||
210 | CLOCKSOURCE_OF_DECLARE(bcm_kona, "bcm,kona-timer", | 204 | CLOCKSOURCE_OF_DECLARE(bcm_kona, "bcm,kona-timer", kona_timer_init); |
211 | kona_timer_init); | ||
diff --git a/drivers/cpuidle/Kconfig b/drivers/cpuidle/Kconfig index c4cc27e5c8a5..e21cdfa4002a 100644 --- a/drivers/cpuidle/Kconfig +++ b/drivers/cpuidle/Kconfig | |||
@@ -36,6 +36,7 @@ if CPU_IDLE | |||
36 | config CPU_IDLE_CALXEDA | 36 | config CPU_IDLE_CALXEDA |
37 | bool "CPU Idle Driver for Calxeda processors" | 37 | bool "CPU Idle Driver for Calxeda processors" |
38 | depends on ARCH_HIGHBANK | 38 | depends on ARCH_HIGHBANK |
39 | select ARM_CPU_SUSPEND | ||
39 | help | 40 | help |
40 | Select this to enable cpuidle on Calxeda processors. | 41 | Select this to enable cpuidle on Calxeda processors. |
41 | 42 | ||
diff --git a/drivers/gpio/gpio-msm-v1.c b/drivers/gpio/gpio-msm-v1.c index c798585a3fe5..fb2cc90d0134 100644 --- a/drivers/gpio/gpio-msm-v1.c +++ b/drivers/gpio/gpio-msm-v1.c | |||
@@ -630,7 +630,7 @@ static struct irq_chip msm_gpio_irq_chip = { | |||
630 | .irq_set_type = msm_gpio_irq_set_type, | 630 | .irq_set_type = msm_gpio_irq_set_type, |
631 | }; | 631 | }; |
632 | 632 | ||
633 | static int __devinit gpio_msm_v1_probe(struct platform_device *pdev) | 633 | static int gpio_msm_v1_probe(struct platform_device *pdev) |
634 | { | 634 | { |
635 | int i, j = 0; | 635 | int i, j = 0; |
636 | const struct platform_device_id *dev_id = platform_get_device_id(pdev); | 636 | const struct platform_device_id *dev_id = platform_get_device_id(pdev); |
diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig index 631736e2e7ed..73e2e7db2b64 100644 --- a/drivers/i2c/busses/Kconfig +++ b/drivers/i2c/busses/Kconfig | |||
@@ -685,7 +685,7 @@ config I2C_SIMTEC | |||
685 | 685 | ||
686 | config I2C_SIRF | 686 | config I2C_SIRF |
687 | tristate "CSR SiRFprimaII I2C interface" | 687 | tristate "CSR SiRFprimaII I2C interface" |
688 | depends on ARCH_PRIMA2 | 688 | depends on ARCH_SIRF |
689 | help | 689 | help |
690 | If you say yes to this option, support will be included for the | 690 | If you say yes to this option, support will be included for the |
691 | CSR SiRFprimaII I2C interface. | 691 | CSR SiRFprimaII I2C interface. |
diff --git a/drivers/irqchip/irq-renesas-irqc.c b/drivers/irqchip/irq-renesas-irqc.c index 927bff373aac..2f404ba61c6c 100644 --- a/drivers/irqchip/irq-renesas-irqc.c +++ b/drivers/irqchip/irq-renesas-irqc.c | |||
@@ -248,8 +248,8 @@ static int irqc_probe(struct platform_device *pdev) | |||
248 | 248 | ||
249 | return 0; | 249 | return 0; |
250 | err3: | 250 | err3: |
251 | for (; k >= 0; k--) | 251 | while (--k >= 0) |
252 | free_irq(p->irq[k - 1].requested_irq, &p->irq[k - 1]); | 252 | free_irq(p->irq[k].requested_irq, &p->irq[k]); |
253 | 253 | ||
254 | irq_domain_remove(p->irq_domain); | 254 | irq_domain_remove(p->irq_domain); |
255 | err2: | 255 | err2: |
diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig index a60f6c17f57b..50543f166215 100644 --- a/drivers/mtd/nand/Kconfig +++ b/drivers/mtd/nand/Kconfig | |||
@@ -95,7 +95,7 @@ config MTD_NAND_OMAP2 | |||
95 | 95 | ||
96 | config MTD_NAND_OMAP_BCH | 96 | config MTD_NAND_OMAP_BCH |
97 | depends on MTD_NAND && MTD_NAND_OMAP2 && ARCH_OMAP3 | 97 | depends on MTD_NAND && MTD_NAND_OMAP2 && ARCH_OMAP3 |
98 | bool "Enable support for hardware BCH error correction" | 98 | tristate "Enable support for hardware BCH error correction" |
99 | default n | 99 | default n |
100 | select BCH | 100 | select BCH |
101 | select BCH_CONST_PARAMS | 101 | select BCH_CONST_PARAMS |
diff --git a/drivers/scsi/nsp32.c b/drivers/scsi/nsp32.c index 1e3879dcbdcc..0665f9cfdb02 100644 --- a/drivers/scsi/nsp32.c +++ b/drivers/scsi/nsp32.c | |||
@@ -2899,7 +2899,7 @@ static void nsp32_do_bus_reset(nsp32_hw_data *data) | |||
2899 | * reset SCSI bus | 2899 | * reset SCSI bus |
2900 | */ | 2900 | */ |
2901 | nsp32_write1(base, SCSI_BUS_CONTROL, BUSCTL_RST); | 2901 | nsp32_write1(base, SCSI_BUS_CONTROL, BUSCTL_RST); |
2902 | udelay(RESET_HOLD_TIME); | 2902 | mdelay(RESET_HOLD_TIME / 1000); |
2903 | nsp32_write1(base, SCSI_BUS_CONTROL, 0); | 2903 | nsp32_write1(base, SCSI_BUS_CONTROL, 0); |
2904 | for(i = 0; i < 5; i++) { | 2904 | for(i = 0; i < 5; i++) { |
2905 | intrdat = nsp32_read2(base, IRQ_STATUS); /* dummy read */ | 2905 | intrdat = nsp32_read2(base, IRQ_STATUS); /* dummy read */ |
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 92a9345d7a6b..10f99f45a29b 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig | |||
@@ -404,7 +404,7 @@ config SPI_SH_HSPI | |||
404 | 404 | ||
405 | config SPI_SIRF | 405 | config SPI_SIRF |
406 | tristate "CSR SiRFprimaII SPI controller" | 406 | tristate "CSR SiRFprimaII SPI controller" |
407 | depends on ARCH_PRIMA2 | 407 | depends on ARCH_SIRF |
408 | select SPI_BITBANG | 408 | select SPI_BITBANG |
409 | help | 409 | help |
410 | SPI driver for CSR SiRFprimaII SoCs | 410 | SPI driver for CSR SiRFprimaII SoCs |
diff --git a/drivers/ssbi/ssbi.c b/drivers/ssbi/ssbi.c index f32da0258a8e..e561d3be54a5 100644 --- a/drivers/ssbi/ssbi.c +++ b/drivers/ssbi/ssbi.c | |||
@@ -350,6 +350,7 @@ static struct of_device_id ssbi_match_table[] = { | |||
350 | { .compatible = "qcom,ssbi" }, | 350 | { .compatible = "qcom,ssbi" }, |
351 | {} | 351 | {} |
352 | }; | 352 | }; |
353 | MODULE_DEVICE_TABLE(of, ssbi_match_table); | ||
353 | 354 | ||
354 | static struct platform_driver ssbi_driver = { | 355 | static struct platform_driver ssbi_driver = { |
355 | .probe = ssbi_probe, | 356 | .probe = ssbi_probe, |
diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig index 46dd1c72feda..5e3d68917ffe 100644 --- a/drivers/tty/serial/Kconfig +++ b/drivers/tty/serial/Kconfig | |||
@@ -251,7 +251,7 @@ config SERIAL_SAMSUNG_CONSOLE | |||
251 | 251 | ||
252 | config SERIAL_SIRFSOC | 252 | config SERIAL_SIRFSOC |
253 | tristate "SiRF SoC Platform Serial port support" | 253 | tristate "SiRF SoC Platform Serial port support" |
254 | depends on ARCH_PRIMA2 | 254 | depends on ARCH_SIRF |
255 | select SERIAL_CORE | 255 | select SERIAL_CORE |
256 | help | 256 | help |
257 | Support for the on-chip UART on the CSR SiRFprimaII series, | 257 | Support for the on-chip UART on the CSR SiRFprimaII series, |