summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/imx233/power-imx233.c
diff options
context:
space:
mode:
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)
sleep(HZ / 2);
#ifdef SANSA_FUZEPLUS
/* This pin seems to be important to shutdown the hardware properly */
- imx233_pinctrl_acquire_pin(0, 9, "power off");
- imx233_set_pin_function(0, 9, PINCTRL_FUNCTION_GPIO);
- imx233_enable_gpio_output(0, 9, true);
- imx233_set_gpio_output(0, 9, true);
+ imx233_pinctrl_acquire(0, 9, "power off");
+ imx233_pinctrl_set_function(0, 9, PINCTRL_FUNCTION_GPIO);
+ imx233_pinctrl_enable_gpio(0, 9, true);
+ imx233_pinctrl_set_gpio(0, 9, true);
#endif
/* power down */
HW_POWER_RESET = BM_OR2(POWER_RESET, UNLOCK, PWD);