diff options
author | Amaury Pouly <pamaury@rockbox.org> | 2011-11-17 23:10:22 +0000 |
---|---|---|
committer | Amaury Pouly <pamaury@rockbox.org> | 2011-11-17 23:10:22 +0000 |
commit | 852b68c74aab63915ba9c9c7378cf33e3277e6bb (patch) | |
tree | d346395ea47a2bb34f57658a611bf61c1edec801 /firmware/target | |
parent | 9cb91c006247b8a326d52f7f1c2e45ca2238c614 (diff) | |
download | rockbox-852b68c74aab63915ba9c9c7378cf33e3277e6bb.tar.gz rockbox-852b68c74aab63915ba9c9c7378cf33e3277e6bb.zip |
imx233/fuze+: set drive strength of tuner chip enable pin, enable backlight on panic
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31026 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target')
-rw-r--r-- | firmware/target/arm/imx233/sansa-fuzeplus/power-fuzeplus.c | 1 | ||||
-rw-r--r-- | firmware/target/arm/imx233/system-imx233.c | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/firmware/target/arm/imx233/sansa-fuzeplus/power-fuzeplus.c b/firmware/target/arm/imx233/sansa-fuzeplus/power-fuzeplus.c index 5cda13e2bb..bf06abe311 100644 --- a/firmware/target/arm/imx233/sansa-fuzeplus/power-fuzeplus.c +++ b/firmware/target/arm/imx233/sansa-fuzeplus/power-fuzeplus.c | |||
@@ -33,6 +33,7 @@ bool tuner_power(bool enable) | |||
33 | { | 33 | { |
34 | fmradio_i2c_enable(enable); | 34 | fmradio_i2c_enable(enable); |
35 | /* CE is B029 (active high) */ | 35 | /* CE is B029 (active high) */ |
36 | imx233_set_pin_drive_strength(0, 29, PINCTRL_DRIVE_4mA); | ||
36 | imx233_enable_gpio_output(0, 29, enable); | 37 | imx233_enable_gpio_output(0, 29, enable); |
37 | imx233_set_gpio_output(0, 29, enable); | 38 | imx233_set_gpio_output(0, 29, enable); |
38 | tuner_enable = enable; | 39 | tuner_enable = enable; |
diff --git a/firmware/target/arm/imx233/system-imx233.c b/firmware/target/arm/imx233/system-imx233.c index 34a8a8e326..a97cf198c8 100644 --- a/firmware/target/arm/imx233/system-imx233.c +++ b/firmware/target/arm/imx233/system-imx233.c | |||
@@ -139,8 +139,9 @@ void system_reboot(void) | |||
139 | void system_exception_wait(void) | 139 | void system_exception_wait(void) |
140 | { | 140 | { |
141 | /* make sure lcd and backlight are on */ | 141 | /* make sure lcd and backlight are on */ |
142 | lcd_update(); | ||
142 | _backlight_on(); | 143 | _backlight_on(); |
143 | _backlight_set_brightness(100); | 144 | _backlight_set_brightness(DEFAULT_BRIGHTNESS_SETTING); |
144 | /* wait until button release (if a button is pressed) */ | 145 | /* wait until button release (if a button is pressed) */ |
145 | while(button_read_device()); | 146 | while(button_read_device()); |
146 | /* then wait until next button press */ | 147 | /* then wait until next button press */ |