mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 21:22:39 -05:00
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:
parent
e55394521b
commit
80101edcf7
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ void INT_I2C_DMA(void)
|
||||||
|
|
||||||
void i2c_init(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) */
|
/* setup pins (must be done when shutdown) */
|
||||||
imx233_set_pin_function(0, 30, PINCTRL_FUNCTION_MAIN);
|
imx233_set_pin_function(0, 30, PINCTRL_FUNCTION_MAIN);
|
||||||
imx233_set_pin_function(0, 31, PINCTRL_FUNCTION_MAIN);
|
imx233_set_pin_function(0, 31, PINCTRL_FUNCTION_MAIN);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue