diff options
Diffstat (limited to 'firmware/target/arm/imx233/i2c-imx233.c')
-rw-r--r-- | firmware/target/arm/imx233/i2c-imx233.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/arm/imx233/i2c-imx233.c b/firmware/target/arm/imx233/i2c-imx233.c index 21b66bcde8..199ad181ba 100644 --- a/firmware/target/arm/imx233/i2c-imx233.c +++ b/firmware/target/arm/imx233/i2c-imx233.c | |||
@@ -57,6 +57,8 @@ void imx233_i2c_init(void) | |||
57 | { | 57 | { |
58 | imx233_reset_block(&HW_I2C_CTRL0); | 58 | imx233_reset_block(&HW_I2C_CTRL0); |
59 | /* setup pins (must be done when shutdown) */ | 59 | /* setup pins (must be done when shutdown) */ |
60 | imx233_pinctrl_acquire_pin(0, 30, "i2c"); | ||
61 | imx233_pinctrl_acquire_pin(0, 31, "i2c"); | ||
60 | imx233_set_pin_function(0, 30, PINCTRL_FUNCTION_MAIN); | 62 | imx233_set_pin_function(0, 30, PINCTRL_FUNCTION_MAIN); |
61 | imx233_set_pin_function(0, 31, PINCTRL_FUNCTION_MAIN); | 63 | imx233_set_pin_function(0, 31, PINCTRL_FUNCTION_MAIN); |
62 | /* clear softreset */ | 64 | /* clear softreset */ |