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: NEllen Wang <ellen@cumulusnetworks.com> Acked-by: NWolfram Sang <wsa@the-dreams.de> Reviewed-by: NAntonio Borneo <borneo.antonio@gmail.com> Cc: stable@vger.kernel.org Signed-off-by: NJiri Kosina <jkosina@suse.com>
Showing
想要评论请 注册 或 登录