diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2012-03-15 14:59:20 +0100 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2012-03-15 15:01:11 +0100 |
commit | 9caffa8bf7a2f1fc06b70eb0015c4f089a1173af (patch) | |
tree | ca143d5b23770d923c407fadaf489e671832ff26 /firmware/target/arm/imx233/i2c-imx233.h | |
parent | a4fd5bf7cb3d8d071c5fb9d45255c8f85e517b7a (diff) | |
download | rockbox-9caffa8bf7a2f1fc06b70eb0015c4f089a1173af.tar.gz rockbox-9caffa8bf7a2f1fc06b70eb0015c4f089a1173af.zip |
imx233/fuze+: rework i2c and fmradio_i2c init
Only enable fmradio_i2c once with _init() called from system.
Move actual i2c init to system for consistency.
Move tuner power pin setup to power instead of fmradio.
Change-Id: Idb56bfba5803f71b5d049f174c48d2afb969a6ea
Diffstat (limited to 'firmware/target/arm/imx233/i2c-imx233.h')
-rw-r--r-- | firmware/target/arm/imx233/i2c-imx233.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/imx233/i2c-imx233.h b/firmware/target/arm/imx233/i2c-imx233.h index de90e168f2..5ee22efd2a 100644 --- a/firmware/target/arm/imx233/i2c-imx233.h +++ b/firmware/target/arm/imx233/i2c-imx233.h | |||
@@ -126,7 +126,7 @@ enum imx233_i2c_error_t | |||
126 | I2C_SLAVE_NAK = -5 | 126 | I2C_SLAVE_NAK = -5 |
127 | }; | 127 | }; |
128 | 128 | ||
129 | void i2c_init(void); | 129 | void imx233_i2c_init(void); |
130 | /* start building a transfer, will acquire an exclusive lock */ | 130 | /* start building a transfer, will acquire an exclusive lock */ |
131 | void imx233_i2c_begin(void); | 131 | void imx233_i2c_begin(void); |
132 | /* add stage */ | 132 | /* add stage */ |