Add missing mutex_init to i2c driver

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21749 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Bertrik Sikken 2009-07-10 17:46:35 +00:00
parent 9cb62038e3
commit 1a519f52ac

View file

@ -88,6 +88,8 @@ void i2c_init(void)
{
int i;
mutex_init(&i2c_mtx);
#if CONFIG_I2C == I2C_ONDIO
/* make PB6 & PB7 general I/O */
PBCR2 &= ~0xf000;