diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-09-26 22:48:58 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-09-26 22:48:58 -0400 |
commit | e8294de53bb788b3a6f7c09d143c7cdc60b65753 (patch) | |
tree | 10834ad88c3d7d248aa854edafb292905d843bf1 /arch/powerpc | |
parent | 9aae341287f55d5fc71f8a884e671f9058ad3388 (diff) | |
parent | 4d56dec5dca496655ef035ef3b80f7c47dc22b77 (diff) |
Merge remote-tracking branch 'kumar/next' into next
A few more fsl updates from Kumar
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/configs/85xx/p1023rds_defconfig | 6 | ||||
-rw-r--r-- | arch/powerpc/kernel/smp.c | 2 | ||||
-rw-r--r-- | arch/powerpc/sysdev/fsl_ifc.c | 20 | ||||
-rw-r--r-- | arch/powerpc/sysdev/fsl_pci.c | 2 |
4 files changed, 17 insertions, 13 deletions
diff --git a/arch/powerpc/configs/85xx/p1023rds_defconfig b/arch/powerpc/configs/85xx/p1023rds_defconfig index 26e541c4662..b80bcc69d1f 100644 --- a/arch/powerpc/configs/85xx/p1023rds_defconfig +++ b/arch/powerpc/configs/85xx/p1023rds_defconfig | |||
@@ -112,6 +112,12 @@ CONFIG_SND=y | |||
112 | CONFIG_SND_MIXER_OSS=y | 112 | CONFIG_SND_MIXER_OSS=y |
113 | CONFIG_SND_PCM_OSS=y | 113 | CONFIG_SND_PCM_OSS=y |
114 | # CONFIG_SND_SUPPORT_OLD_API is not set | 114 | # CONFIG_SND_SUPPORT_OLD_API is not set |
115 | CONFIG_USB=y | ||
116 | CONFIG_USB_DEVICEFS=y | ||
117 | CONFIG_USB_MON=y | ||
118 | CONFIG_USB_EHCI_HCD=y | ||
119 | CONFIG_USB_EHCI_FSL=y | ||
120 | CONFIG_USB_STORAGE=y | ||
115 | CONFIG_EDAC=y | 121 | CONFIG_EDAC=y |
116 | CONFIG_EDAC_MM_EDAC=y | 122 | CONFIG_EDAC_MM_EDAC=y |
117 | CONFIG_RTC_CLASS=y | 123 | CONFIG_RTC_CLASS=y |
diff --git a/arch/powerpc/kernel/smp.c b/arch/powerpc/kernel/smp.c index a51ed205016..2b952b5386f 100644 --- a/arch/powerpc/kernel/smp.c +++ b/arch/powerpc/kernel/smp.c | |||
@@ -171,7 +171,7 @@ int smp_request_message_ipi(int virq, int msg) | |||
171 | } | 171 | } |
172 | #endif | 172 | #endif |
173 | err = request_irq(virq, smp_ipi_action[msg], | 173 | err = request_irq(virq, smp_ipi_action[msg], |
174 | IRQF_PERCPU | IRQF_NO_THREAD, | 174 | IRQF_PERCPU | IRQF_NO_THREAD | IRQF_NO_SUSPEND, |
175 | smp_ipi_name[msg], 0); | 175 | smp_ipi_name[msg], 0); |
176 | WARN(err < 0, "unable to request_irq %d for %s (rc %d)\n", | 176 | WARN(err < 0, "unable to request_irq %d for %s (rc %d)\n", |
177 | virq, smp_ipi_name[msg], err); | 177 | virq, smp_ipi_name[msg], err); |
diff --git a/arch/powerpc/sysdev/fsl_ifc.c b/arch/powerpc/sysdev/fsl_ifc.c index b31f19f6103..097cc9d2585 100644 --- a/arch/powerpc/sysdev/fsl_ifc.c +++ b/arch/powerpc/sysdev/fsl_ifc.c | |||
@@ -244,12 +244,6 @@ static int __devinit fsl_ifc_ctrl_probe(struct platform_device *dev) | |||
244 | /* get the nand machine irq */ | 244 | /* get the nand machine irq */ |
245 | fsl_ifc_ctrl_dev->nand_irq = | 245 | fsl_ifc_ctrl_dev->nand_irq = |
246 | irq_of_parse_and_map(dev->dev.of_node, 1); | 246 | irq_of_parse_and_map(dev->dev.of_node, 1); |
247 | if (fsl_ifc_ctrl_dev->nand_irq == NO_IRQ) { | ||
248 | dev_err(&dev->dev, "failed to get irq resource " | ||
249 | "for NAND Machine\n"); | ||
250 | ret = -ENODEV; | ||
251 | goto err; | ||
252 | } | ||
253 | 247 | ||
254 | fsl_ifc_ctrl_dev->dev = &dev->dev; | 248 | fsl_ifc_ctrl_dev->dev = &dev->dev; |
255 | 249 | ||
@@ -267,12 +261,14 @@ static int __devinit fsl_ifc_ctrl_probe(struct platform_device *dev) | |||
267 | goto err_irq; | 261 | goto err_irq; |
268 | } | 262 | } |
269 | 263 | ||
270 | ret = request_irq(fsl_ifc_ctrl_dev->nand_irq, fsl_ifc_nand_irq, 0, | 264 | if (fsl_ifc_ctrl_dev->nand_irq) { |
271 | "fsl-ifc-nand", fsl_ifc_ctrl_dev); | 265 | ret = request_irq(fsl_ifc_ctrl_dev->nand_irq, fsl_ifc_nand_irq, |
272 | if (ret != 0) { | 266 | 0, "fsl-ifc-nand", fsl_ifc_ctrl_dev); |
273 | dev_err(&dev->dev, "failed to install irq (%d)\n", | 267 | if (ret != 0) { |
274 | fsl_ifc_ctrl_dev->nand_irq); | 268 | dev_err(&dev->dev, "failed to install irq (%d)\n", |
275 | goto err_nandirq; | 269 | fsl_ifc_ctrl_dev->nand_irq); |
270 | goto err_nandirq; | ||
271 | } | ||
276 | } | 272 | } |
277 | 273 | ||
278 | return 0; | 274 | return 0; |
diff --git a/arch/powerpc/sysdev/fsl_pci.c b/arch/powerpc/sysdev/fsl_pci.c index 2ff35765a6a..3d6f4d8b2e9 100644 --- a/arch/powerpc/sysdev/fsl_pci.c +++ b/arch/powerpc/sysdev/fsl_pci.c | |||
@@ -864,7 +864,9 @@ static int __devinit fsl_pci_probe(struct platform_device *pdev) | |||
864 | { | 864 | { |
865 | int ret; | 865 | int ret; |
866 | struct device_node *node; | 866 | struct device_node *node; |
867 | #ifdef CONFIG_SWIOTLB | ||
867 | struct pci_controller *hose; | 868 | struct pci_controller *hose; |
869 | #endif | ||
868 | 870 | ||
869 | node = pdev->dev.of_node; | 871 | node = pdev->dev.of_node; |
870 | ret = fsl_add_bridge(node, fsl_pci_primary == node); | 872 | ret = fsl_add_bridge(node, fsl_pci_primary == node); |