Commit 74b0666f authored by Wolfram Sang's avatar Wolfram Sang

i2c: testunit: match HostNotify test name with docs

Ensure the test has the same name in the code as it has in the docs.
Signed-off-by: default avatarWolfram Sang <wsa+renesas@sang-engineering.com>
parent f17c06c6
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
enum testunit_cmds { enum testunit_cmds {
TU_CMD_READ_BYTES = 1, /* save 0 for ABORT, RESET or similar */ TU_CMD_READ_BYTES = 1, /* save 0 for ABORT, RESET or similar */
TU_CMD_HOST_NOTIFY, TU_CMD_SMBUS_HOST_NOTIFY,
TU_CMD_SMBUS_BLOCK_PROC_CALL, TU_CMD_SMBUS_BLOCK_PROC_CALL,
TU_NUM_CMDS TU_NUM_CMDS
}; };
...@@ -60,7 +60,7 @@ static void i2c_slave_testunit_work(struct work_struct *work) ...@@ -60,7 +60,7 @@ static void i2c_slave_testunit_work(struct work_struct *work)
msg.len = tu->regs[TU_REG_DATAH]; msg.len = tu->regs[TU_REG_DATAH];
break; break;
case TU_CMD_HOST_NOTIFY: case TU_CMD_SMBUS_HOST_NOTIFY:
msg.addr = 0x08; msg.addr = 0x08;
msg.flags = 0; msg.flags = 0;
msg.len = 3; msg.len = 3;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment