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

HID: cp2112: fix byte order in SMBUS operations

commit 29e2d6d1

 upstream.

Change all occurrences of be16 to le16 in cp2112_xfer(),
because SMBUS words are little endian, not big endian.

Signed-off-by: default avatarEllen Wang <ellen@cumulusnetworks.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3e1ed327
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