projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e0b5a3
)
ARM: LPC32xx: Remove spi chipselect request from board init
author
Alexandre Pereira da Silva
<aletes.xgr@gmail.com>
Tue, 12 Jun 2012 14:34:28 +0000
(11:34 -0300)
committer
Roland Stigge
<stigge@antcom.de>
Thu, 14 Jun 2012 14:16:19 +0000
(16:16 +0200)
The lpc32xx spi0 chipselect will be requested directly from the
pl022 driver
Signed-off-by: Alexandre Pereira da Silva <aletes.xgr@gmail.com>
Signed-off-by: Roland Stigge <stigge@antcom.de>
arch/arm/mach-lpc32xx/phy3250.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-lpc32xx/phy3250.c
b/arch/arm/mach-lpc32xx/phy3250.c
index 03ee3491b7cf084822c20e0ede93b80ecb595b81..4ba238395be96bbccd33e84cad54e459d4aec2a4 100644
(file)
--- a/
arch/arm/mach-lpc32xx/phy3250.c
+++ b/
arch/arm/mach-lpc32xx/phy3250.c
@@
-359,13
+359,6
@@
static void __init lpc3250_machine_init(void)
lpc32xx_auxdata_lookup, NULL);
/* Register GPIOs used on this board */
- if (gpio_request(SPI0_CS_GPIO, "spi0 cs"))
- printk(KERN_ERR "Error requesting gpio %u",
- SPI0_CS_GPIO);
- else if (gpio_direction_output(SPI0_CS_GPIO, 1))
- printk(KERN_ERR "Error setting gpio %u to output",
- SPI0_CS_GPIO);
-
if (gpio_request(MMC_PWR_ENABLE_GPIO, "mmc_power_en"))
pr_err("Error requesting gpio %u", MMC_PWR_ENABLE_GPIO);
else if (gpio_direction_output(MMC_PWR_ENABLE_GPIO, 1))