From 852b68c74aab63915ba9c9c7378cf33e3277e6bb Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Thu, 17 Nov 2011 23:10:22 +0000 Subject: 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 --- firmware/target/arm/imx233/sansa-fuzeplus/power-fuzeplus.c | 1 + firmware/target/arm/imx233/system-imx233.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'firmware/target/arm/imx233') 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) { fmradio_i2c_enable(enable); /* CE is B029 (active high) */ + imx233_set_pin_drive_strength(0, 29, PINCTRL_DRIVE_4mA); imx233_enable_gpio_output(0, 29, enable); imx233_set_gpio_output(0, 29, enable); 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) void system_exception_wait(void) { /* make sure lcd and backlight are on */ + lcd_update(); _backlight_on(); - _backlight_set_brightness(100); + _backlight_set_brightness(DEFAULT_BRIGHTNESS_SETTING); /* wait until button release (if a button is pressed) */ while(button_read_device()); /* then wait until next button press */ -- cgit v1.2.3