diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2024-08-06 13:35:33 +0200 |
---|---|---|
committer | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2024-08-08 07:20:33 +0200 |
commit | 74b0666f97f9455bc799405b7874df62fcb66bae (patch) | |
tree | 62b310eb4e017707144e87e9b15143cdb2a7a02e /drivers/i2c | |
parent | i2c: Fix conditional for substituting empty ACPI functions (diff) | |
download | linux-74b0666f97f9455bc799405b7874df62fcb66bae.tar.xz linux-74b0666f97f9455bc799405b7874df62fcb66bae.zip |
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>
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/i2c-slave-testunit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/i2c/i2c-slave-testunit.c b/drivers/i2c/i2c-slave-testunit.c index 4e03b75f9ad7..4c550306f3ec 100644 --- a/drivers/i2c/i2c-slave-testunit.c +++ b/drivers/i2c/i2c-slave-testunit.c @@ -18,7 +18,7 @@ enum testunit_cmds { 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_NUM_CMDS }; @@ -60,7 +60,7 @@ static void i2c_slave_testunit_work(struct work_struct *work) msg.len = tu->regs[TU_REG_DATAH]; break; - case TU_CMD_HOST_NOTIFY: + case TU_CMD_SMBUS_HOST_NOTIFY: msg.addr = 0x08; msg.flags = 0; msg.len = 3; |