[Armadeus-commitlog] armadeus branch, master, updated. armadeus-5.3-rc1-16-g34f4e76
Brought to you by:
sszy
|
From: Fabien M <fa...@us...> - 2013-11-28 17:14:07
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via 34f4e7601d77ab7e6b91a1f54ee3e07e84037bae (commit)
from 4559456e0ea60af0ab714e9f0b72413924acbf4b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 34f4e7601d77ab7e6b91a1f54ee3e07e84037bae
Author: Fabien Marteau <fab...@ar...>
Date: Thu Nov 28 18:13:42 2013 +0100
[LINUX][pod_gpio] set output value in pod_gpio_direction_out()
-----------------------------------------------------------------------
Summary of changes:
.../fpga/virtual_components/pod_gpio/pod_gpio.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/target/linux/modules/fpga/virtual_components/pod_gpio/pod_gpio.c b/target/linux/modules/fpga/virtual_components/pod_gpio/pod_gpio.c
index e501128..61797fd 100644
--- a/target/linux/modules/fpga/virtual_components/pod_gpio/pod_gpio.c
+++ b/target/linux/modules/fpga/virtual_components/pod_gpio/pod_gpio.c
@@ -198,6 +198,7 @@ static int pod_gpio_direction_out(struct gpio_chip *chip,
container_of(chip, struct pod_gpio_chip, chip);
u16 io_config;
+ pod_gpio_set(cg_chip, gpio_num, val); /* set output value before */
io_config = cg_read_reg(cg_chip, GPIO_CONFIG) & ~(1 << gpio_num);
cg_write_reg(cg_chip, GPIO_CONFIG, io_config);
hooks/post-receive
--
armadeus
|