summaryrefslogtreecommitdiff
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)
33 if(enable != tuner_enable) 33 if(enable != tuner_enable)
34 { 34 {
35 /* CE is B029 (active high) */ 35 /* CE is B029 (active high) */
36 imx233_pinctrl_acquire_pin(0, 29, "tuner power"); 36 imx233_pinctrl_acquire(0, 29, "tuner power");
37 imx233_set_pin_function(0, 29, PINCTRL_FUNCTION_GPIO); 37 imx233_pinctrl_set_function(0, 29, PINCTRL_FUNCTION_GPIO);
38 imx233_set_pin_drive_strength(0, 29, PINCTRL_DRIVE_4mA); 38 imx233_pinctrl_set_drive(0, 29, PINCTRL_DRIVE_4mA);
39 imx233_enable_gpio_output(0, 29, enable); 39 imx233_pinctrl_enable_gpio(0, 29, enable);
40 imx233_set_gpio_output(0, 29, enable); 40 imx233_pinctrl_set_gpio(0, 29, enable);
41 tuner_enable = enable; 41 tuner_enable = enable;
42 /* give time to power up */ 42 /* give time to power up */
43 udelay(5); 43 udelay(5);