summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/imx233/sansa-fuzeplus/power-fuzeplus.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/imx233/sansa-fuzeplus/power-fuzeplus.c')
-rw-r--r--firmware/target/arm/imx233/sansa-fuzeplus/power-fuzeplus.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/firmware/target/arm/imx233/sansa-fuzeplus/power-fuzeplus.c b/firmware/target/arm/imx233/sansa-fuzeplus/power-fuzeplus.c
index 89dbfd3cb7..5d0377f77c 100644
--- a/firmware/target/arm/imx233/sansa-fuzeplus/power-fuzeplus.c
+++ b/firmware/target/arm/imx233/sansa-fuzeplus/power-fuzeplus.c
@@ -33,11 +33,11 @@ bool tuner_power(bool enable)
if(enable != tuner_enable)
{
/* CE is B029 (active high) */
- imx233_pinctrl_acquire_pin(0, 29, "tuner power");
- imx233_set_pin_function(0, 29, PINCTRL_FUNCTION_GPIO);
- imx233_set_pin_drive_strength(0, 29, PINCTRL_DRIVE_4mA);
- imx233_enable_gpio_output(0, 29, enable);
- imx233_set_gpio_output(0, 29, enable);
+ imx233_pinctrl_acquire(0, 29, "tuner power");
+ imx233_pinctrl_set_function(0, 29, PINCTRL_FUNCTION_GPIO);
+ imx233_pinctrl_set_drive(0, 29, PINCTRL_DRIVE_4mA);
+ imx233_pinctrl_enable_gpio(0, 29, enable);
+ imx233_pinctrl_set_gpio(0, 29, enable);
tuner_enable = enable;
/* give time to power up */
udelay(5);