imx233/fuze+: correctly reset i2c block

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30536 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Amaury Pouly 2011-09-13 23:40:16 +00:00
parent e55394521b
commit 80101edcf7

View file

@ -55,7 +55,7 @@ void INT_I2C_DMA(void)
void i2c_init(void)
{
__REG_SET(HW_I2C_CTRL0) = __BLOCK_SFTRST | __BLOCK_CLKGATE;
imx233_reset_block(&HW_I2C_CTRL0);
/* setup pins (must be done when shutdown) */
imx233_set_pin_function(0, 30, PINCTRL_FUNCTION_MAIN);
imx233_set_pin_function(0, 31, PINCTRL_FUNCTION_MAIN);