Message type for BUSC_I2C_RESERVE

Change-Id: Iedc2615b41c65f826868a70448fb1143bd85670f
This commit is contained in:
2014-05-15 16:14:21 +02:00
parent ff905e5276
commit b8e631ff13
4 changed files with 21 additions and 3 deletions

View File

@@ -323,7 +323,7 @@ i2c_other(message * m, int ipc_status)
switch (m->m_type) {
case BUSC_I2C_RESERVE:
/* reserve a device on the bus for exclusive access */
r = do_reserve(m->m_source, m->BUSC_I2C_ADDR);
r = do_reserve(m->m_source, m->m_li2cdriver_i2c_busc_i2c_reserve.addr);
break;
case BUSC_I2C_EXEC:
/* handle request from another driver */