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:
eced8db
)
spi: set spi chipselect gpios HIGH in io_init function for infosdk
author
lyx
<lyx@rock-chips.com>
Mon, 13 Sep 2010 07:48:12 +0000
(
00:48
-0700)
committer
lyx
<lyx@rock-chips.com>
Mon, 13 Sep 2010 07:48:12 +0000
(
00:48
-0700)
arch/arm/mach-rk2818/board-infosdk.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk2818/board-infosdk.c
b/arch/arm/mach-rk2818/board-infosdk.c
index eed2ebc67b12b0808fa056c756cc2071cfe386ff..2cb2f0e5bfb05d0bcc10611f3cf48f4157a8789f 100755
(executable)
--- a/
arch/arm/mach-rk2818/board-infosdk.c
+++ b/
arch/arm/mach-rk2818/board-infosdk.c
@@
-940,6
+940,7
@@
static int spi_io_init(struct spi_cs_gpio *cs_gpios, int cs_num)
printk("[fun:%s, line:%d], gpio request err\n", __func__, __LINE__);
return -1;
}
+ gpio_direction_output(cs_gpios[i].cs_gpio, GPIO_HIGH);
}
}
return 0;