Skip to content

Commit 74b0666

Browse files
author
Wolfram Sang
committed
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: Wolfram Sang <wsa+renesas@sang-engineering.com>
1 parent f17c06c commit 74b0666

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/i2c/i2c-slave-testunit.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
enum testunit_cmds {
2020
TU_CMD_READ_BYTES = 1, /* save 0 for ABORT, RESET or similar */
21-
TU_CMD_HOST_NOTIFY,
21+
TU_CMD_SMBUS_HOST_NOTIFY,
2222
TU_CMD_SMBUS_BLOCK_PROC_CALL,
2323
TU_NUM_CMDS
2424
};
@@ -60,7 +60,7 @@ static void i2c_slave_testunit_work(struct work_struct *work)
6060
msg.len = tu->regs[TU_REG_DATAH];
6161
break;
6262

63-
case TU_CMD_HOST_NOTIFY:
63+
case TU_CMD_SMBUS_HOST_NOTIFY:
6464
msg.addr = 0x08;
6565
msg.flags = 0;
6666
msg.len = 3;

0 commit comments

Comments
 (0)