diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2013-06-16 21:15:09 +0200 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2013-06-17 00:29:25 +0200 |
commit | 52426d08918eadfba178f74e1bd5d1663f9c73e0 (patch) | |
tree | 3a9488a65d7d3f854f84615238ce174dfd956c6a /firmware/target/arm/imx233/sansa-fuzeplus/fmradio-i2c-fuzeplus.c | |
parent | f4fdf1ffe2189dafd1ebbbbf50f1a4626364ead3 (diff) | |
download | rockbox-52426d08918eadfba178f74e1bd5d1663f9c73e0.tar.gz rockbox-52426d08918eadfba178f74e1bd5d1663f9c73e0.zip |
imx233: fix pinctrl for stmp3600 and stmp3700
Change-Id: I87281b89315890fa285cb9a63fda5c90bdc8cdbf
Diffstat (limited to 'firmware/target/arm/imx233/sansa-fuzeplus/fmradio-i2c-fuzeplus.c')
-rw-r--r-- | firmware/target/arm/imx233/sansa-fuzeplus/fmradio-i2c-fuzeplus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/imx233/sansa-fuzeplus/fmradio-i2c-fuzeplus.c b/firmware/target/arm/imx233/sansa-fuzeplus/fmradio-i2c-fuzeplus.c index ba62ebf59c..15e061103f 100644 --- a/firmware/target/arm/imx233/sansa-fuzeplus/fmradio-i2c-fuzeplus.c +++ b/firmware/target/arm/imx233/sansa-fuzeplus/fmradio-i2c-fuzeplus.c | |||
@@ -58,12 +58,12 @@ static void i2c_sda_out(bool high) | |||
58 | 58 | ||
59 | static bool i2c_scl_in(void) | 59 | static bool i2c_scl_in(void) |
60 | { | 60 | { |
61 | return imx233_pinctrl_get_gpio_mask(1, 1 << 22); | 61 | return imx233_pinctrl_get_gpio(1, 22); |
62 | } | 62 | } |
63 | 63 | ||
64 | static bool i2c_sda_in(void) | 64 | static bool i2c_sda_in(void) |
65 | { | 65 | { |
66 | return imx233_pinctrl_get_gpio_mask(1, 1 << 24); | 66 | return imx233_pinctrl_get_gpio(1, 24); |
67 | } | 67 | } |
68 | 68 | ||
69 | static void i2c_delay(int d) | 69 | static void i2c_delay(int d) |