commit | 1653d2f88f43f6780eace1faeeb7b7adde8c10fb | [log] [tgz] |
---|---|---|
author | Thomas Pugliese <thomas.pugliese@gmail.com> | Mon Oct 07 10:07:51 2013 -0500 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Oct 19 05:19:21 2013 -0700 |
tree | 0848ebaf8648b8ed15abf40356cd2166038fce8e | |
parent | 679ee475a1c19243c8f50a5a76f6b7519b24c1a3 [diff] |
usb: wusbcore: preserve endianness of cached descriptors Do not overwrite the multi-byte fields of usb_wa_descriptor with their cpu format values after reading the descriptor. Leave the values as __le16 and swap on use. This is more consistent with other uses of USB descriptors. Signed-off-by: Thomas Pugliese <thomas.pugliese@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>