[Armadeus-commitlog] armadeus branch, master, updated. release-3.3-15-g7dcd660
Brought to you by:
sszy
|
From: Fabien M <fa...@us...> - 2010-08-19 13:02:43
|
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 7dcd660e4ff1e8abea3f8fc106b913f1e0c2d9db (commit)
from 4f676254f64b35cb2c1bd17615d0e338fb13cd70 (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 7dcd660e4ff1e8abea3f8fc106b913f1e0c2d9db
Author: Fabien Marteau <fab...@ar...>
Date: Thu Aug 19 15:02:19 2010 +0200
[linux] Fix gpio release bug under as1531 platform module
-----------------------------------------------------------------------
Summary of changes:
target/linux/modules/as1531_platform/as1531_plat.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/target/linux/modules/as1531_platform/as1531_plat.c b/target/linux/modules/as1531_platform/as1531_plat.c
index 8222353..7300f57 100644
--- a/target/linux/modules/as1531_platform/as1531_plat.c
+++ b/target/linux/modules/as1531_platform/as1531_plat.c
@@ -55,6 +55,11 @@ static int as1531_init_gpio(void)
return mxc_gpio_setup_multiple_pins(as1531_pins, ARRAY_SIZE(as1531_pins), "as1531");
}
+static void as1531_exit_gpio(void)
+{
+ mxc_gpio_release_multiple_pins(as1531_pins, ARRAY_SIZE(as1531_pins));
+}
+
/* Chip select command for as1531 */
static void as1531_cs(u32 command)
{
@@ -105,6 +110,7 @@ register_error:
static void __exit exit_as1531_plat(void)
{
spi_unregister_device(as1531_spi_dev);
+ as1531_exit_gpio();
}
module_init(init_as1531_plat);
hooks/post-receive
--
armadeus
|