summaryrefslogtreecommitdiff
path: root/firmware/target/arm/imx233/power-imx233.c
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2013-06-16 19:18:56 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2013-06-17 00:29:24 +0200
commit918a06a12ad633a29634f3249990ba04ce9fb00b (patch)
treeecaa391890d391626a5cf849d08001391926b772 /firmware/target/arm/imx233/power-imx233.c
parentabb7d1dcfe204da217a67235811ebb278dc8fbe1 (diff)
downloadrockbox-918a06a12ad633a29634f3249990ba04ce9fb00b.tar.gz
rockbox-918a06a12ad633a29634f3249990ba04ce9fb00b.zip
imx233: normalise pinctrl names
The current pinctrl functions were a mess. Normalise the functions names to make them shorter and clearer. Change-Id: Iac6ff84625ef2b7610268e3a5802dc0088de3167
Diffstat (limited to 'firmware/target/arm/imx233/power-imx233.c')
-rw-r--r--firmware/target/arm/imx233/power-imx233.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/target/arm/imx233/power-imx233.c b/firmware/target/arm/imx233/power-imx233.c
index 9c00178f1a..7829fd79ce 100644
--- a/firmware/target/arm/imx233/power-imx233.c
+++ b/firmware/target/arm/imx233/power-imx233.c
@@ -120,10 +120,10 @@ void power_off(void)
120 sleep(HZ / 2); 120 sleep(HZ / 2);
121#ifdef SANSA_FUZEPLUS 121#ifdef SANSA_FUZEPLUS
122 /* This pin seems to be important to shutdown the hardware properly */ 122 /* This pin seems to be important to shutdown the hardware properly */
123 imx233_pinctrl_acquire_pin(0, 9, "power off"); 123 imx233_pinctrl_acquire(0, 9, "power off");
124 imx233_set_pin_function(0, 9, PINCTRL_FUNCTION_GPIO); 124 imx233_pinctrl_set_function(0, 9, PINCTRL_FUNCTION_GPIO);
125 imx233_enable_gpio_output(0, 9, true); 125 imx233_pinctrl_enable_gpio(0, 9, true);
126 imx233_set_gpio_output(0, 9, true); 126 imx233_pinctrl_set_gpio(0, 9, true);
127#endif 127#endif
128 /* power down */ 128 /* power down */
129 HW_POWER_RESET = BM_OR2(POWER_RESET, UNLOCK, PWD); 129 HW_POWER_RESET = BM_OR2(POWER_RESET, UNLOCK, PWD);