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:
febee43
)
spi: set spi chipselect gpios HIGH in io_init function
author
lyx
<lyx@rock-chips.com>
Mon, 13 Sep 2010 07:40:56 +0000
(
00:40
-0700)
committer
lyx
<lyx@rock-chips.com>
Mon, 13 Sep 2010 07:41:39 +0000
(
00:41
-0700)
arch/arm/mach-rk2818/board-raho.c
[changed mode: 0644->0755]
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk2818/board-raho.c
b/arch/arm/mach-rk2818/board-raho.c
old mode 100644
(file)
new mode 100755
(executable)
index
4a594cb
..
c11ab16
--- a/
arch/arm/mach-rk2818/board-raho.c
+++ b/
arch/arm/mach-rk2818/board-raho.c
@@
-1262,7
+1262,8
@@
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;