summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2013-08-16 17:23:25 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2013-08-16 17:23:41 +0200
commit630a166a94282d9d0211d6cc77d70b9d384c1d06 (patch)
treea0fe768246398a8270e7bc3da9f5a27295356739
parentb1209d47899ea1906d2638bdaacb99b76f101e3f (diff)
downloadrockbox-630a166a94282d9d0211d6cc77d70b9d384c1d06.zip
rockbox-630a166a94282d9d0211d6cc77d70b9d384c1d06.tar.gz
rockbox-630a166a94282d9d0211d6cc77d70b9d384c1d06.tar.bz2
rockbox-630a166a94282d9d0211d6cc77d70b9d384c1d06.tar.xz
fuze+: fix radio power up
Change-Id: I7c9e056879c56f7f385ef6a8855d5726cf994b51
-rw-r--r--firmware/target/arm/imx233/sansa-fuzeplus/power-fuzeplus.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/firmware/target/arm/imx233/sansa-fuzeplus/power-fuzeplus.c b/firmware/target/arm/imx233/sansa-fuzeplus/power-fuzeplus.c
index 5d0377f..e394593 100644
--- a/firmware/target/arm/imx233/sansa-fuzeplus/power-fuzeplus.c
+++ b/firmware/target/arm/imx233/sansa-fuzeplus/power-fuzeplus.c
@@ -39,8 +39,9 @@ bool tuner_power(bool enable)
imx233_pinctrl_enable_gpio(0, 29, enable);
imx233_pinctrl_set_gpio(0, 29, enable);
tuner_enable = enable;
- /* give time to power up */
- udelay(5);
+ /* give time to power up, datasheet states than minimum timing time is
+ * around 100µs so 1 tick should do */
+ sleep(1);
//imx233_power_set_dcdc_freq(enable, HW_POWER_MISC__FREQSEL__24MHz);
}
return tuner_enable;