diff options
author | Thomas Pugliese <thomas.pugliese@gmail.com> | 2013-10-07 17:07:51 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-19 14:19:21 +0200 |
commit | 1653d2f88f43f6780eace1faeeb7b7adde8c10fb (patch) | |
tree | 0848ebaf8648b8ed15abf40356cd2166038fce8e /arch/s390 | |
parent | usb: wusbcore: serialize access to the HWA data out endpoint (diff) | |
download | linux-1653d2f88f43f6780eace1faeeb7b7adde8c10fb.tar.xz linux-1653d2f88f43f6780eace1faeeb7b7adde8c10fb.zip |
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>
Diffstat (limited to 'arch/s390')
0 files changed, 0 insertions, 0 deletions