summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorAlexey Brodkin <[email protected]>2017-11-17 16:26:30 +0300
committerMarek Vasut <[email protected]>2017-11-26 02:22:36 +0100
commit9829ce2ff25c659ca29cd15ab773312ac4b6cfc6 (patch)
tree13b6a6f21985b9c1b28c42e00aa87123193a4a6f /scripts/const_structs.checkpatch
parentabd7cedb19ab7979467734b3933a39879bd8935a (diff)
usb: ehci: Fix accessors for big-endian platforms and descriptors
Commit 9000eddbae0d ("drivers/usb/ehci: Use platform-specific accessors") broke USB 2.0 on big-endian platforms because for them writel/readl() does automatic conversion of BE data to LE. Proper implementation requires to use "raw" variant of these accessors which read/write data without messing with endianess. While at it replace cpu_to_be32() to be32_to_cpu() in readl() to keep sane semantics. Signed-off-by: Alexey Brodkin <[email protected]> Cc: Marek Vasut <[email protected]> Reported-by: Vladimir Boroda <[email protected]>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions