commit | 6d00d153f00097d259f86304e11858a50a1b8ad1 | [log] [tgz] |
---|---|---|
author | Ellen Wang <ellen@cumulusnetworks.com> | Mon Jul 13 15:23:54 2015 -0700 |
committer | Jiri Kosina <jkosina@suse.com> | Tue Jul 14 14:49:53 2015 +0200 |
tree | af12f510dfd97fc6f04412ee0831b453c58b3a1c | |
parent | 44eda784a2229d25e2724ef1734fe67453716231 [diff] |
HID: cp2112: fix I2C_SMBUS_BYTE write 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: Ellen Wang <ellen@cumulusnetworks.com> Acked-by: Wolfram Sang <wsa@the-dreams.de> Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com> Cc: stable@vger.kernel.org Signed-off-by: Jiri Kosina <jkosina@suse.com>