usb: xhci: tegra: Firmware header is little endian
authorThierry Reding <treding@nvidia.com>
Thu, 20 Sep 2018 16:13:39 +0000 (19:13 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Sep 2018 13:04:45 +0000 (15:04 +0200)
commite1c3c7e54ed3655c02248b4f1c7940aff4eecb56
treeecd59d31b57ac7eaea4066f1de74d549e627d66a
parent2815ef7fe4d43072b9eda448d04fbc184f2aa513
usb: xhci: tegra: Firmware header is little endian

The XUSB firmware header is in little endian byte order, so make the
fields __le32 and __le16 instead of u32 and u16 to avoid warnings from
sparse when the fields are used with the endian-aware __le32_to_cpu()
and __le16_to_cpu() accessors, respectively.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-tegra.c