summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/imx233/creative-zenxfi3
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2012-05-22 23:41:21 +0200
committerBertrik Sikken <bertrik@sikken.nl>2012-05-22 23:41:21 +0200
commit779ec8cc6da5311834d48d97590bec48a822eb4c (patch)
tree759c4cc1815242024cf17f490d619a098dddcbdb /firmware/target/arm/imx233/creative-zenxfi3
parent1354f209f5c14ac502a82b41ad546a9999e8c326 (diff)
downloadrockbox-779ec8cc6da5311834d48d97590bec48a822eb4c.tar.gz
rockbox-779ec8cc6da5311834d48d97590bec48a822eb4c.tar.bz2
rockbox-779ec8cc6da5311834d48d97590bec48a822eb4c.zip
zenxfi3: fix vol+/vol- button pin assignment
Change-Id: Ibc8e19b03e786ac8c668c73c85c5e66df16cc632
Diffstat (limited to 'firmware/target/arm/imx233/creative-zenxfi3')
-rw-r--r--firmware/target/arm/imx233/creative-zenxfi3/button-zenxfi3.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/firmware/target/arm/imx233/creative-zenxfi3/button-zenxfi3.c b/firmware/target/arm/imx233/creative-zenxfi3/button-zenxfi3.c
index 19816025c6..5c9fa91771 100644
--- a/firmware/target/arm/imx233/creative-zenxfi3/button-zenxfi3.c
+++ b/firmware/target/arm/imx233/creative-zenxfi3/button-zenxfi3.c
@@ -131,13 +131,13 @@ void button_init_device(void)
imx233_set_pin_function(0, 4, PINCTRL_FUNCTION_GPIO);
imx233_enable_gpio_output(0, 4, false);
/* volume down button */
- imx233_pinctrl_acquire_pin(0, 7, "volume down");
- imx233_set_pin_function(0, 7, PINCTRL_FUNCTION_GPIO);
- imx233_enable_gpio_output(0, 7, false);
+ imx233_pinctrl_acquire_pin(2, 7, "volume down");
+ imx233_set_pin_function(2, 7, PINCTRL_FUNCTION_GPIO);
+ imx233_enable_gpio_output(2, 7, false);
/* volume up button */
- imx233_pinctrl_acquire_pin(0, 8, "volume up");
- imx233_set_pin_function(0, 8, PINCTRL_FUNCTION_GPIO);
- imx233_enable_gpio_output(0, 8, false);
+ imx233_pinctrl_acquire_pin(2, 8, "volume up");
+ imx233_set_pin_function(2, 8, PINCTRL_FUNCTION_GPIO);
+ imx233_enable_gpio_output(2, 8, false);
}
bool button_hold(void)