Skip to content
Commit fd54f2ee authored by Ellen Wang's avatar Ellen Wang Committed by Greg Kroah-Hartman
Browse files

HID: cp2112: fix I2C_SMBUS_BYTE write

commit 6d00d153

 upstream.

When doing an I2C_SMBUS_BYTE write (one byte write, no address),
the data to be written is in "command" not "data->byte".

Signed-off-by: default avatarEllen Wang <ellen@cumulusnetworks.com>
Acked-by: default avatarWolfram Sang <wsa@the-dreams.de>
Reviewed-by: default avatarAntonio Borneo <borneo.antonio@gmail.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d60fc162
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