diff options
author | William Zhang <[email protected]> | 2023-02-06 22:58:17 -0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2023-02-09 15:00:47 +0000 |
commit | 85a84a61699990db6a025b5073f337f49933a875 (patch) | |
tree | 7395bbfae18a5b96ca60d188f27f4a93bfd53fb4 /drivers/usb/cdns3/cdns3-debug.h | |
parent | 99d7428ac94bf67d6e9df81dd3b4bf3046196ad6 (diff) |
spi: bcm63xx-hsspi: Endianness fix for ARM based SoC
HSSPI controller uses big endian for the opcode in the message to the
controller ping pong buffer. Use cpu_to_be16 to properly handle the
endianness for both big and little endian host.
Fixes: 142168eba9dc ("spi: bcm63xx-hsspi: add bcm63xx HSSPI driver")
Signed-off-by: Kursad Oney <[email protected]>
Signed-off-by: William Zhang <[email protected]>
Acked-by: Florian Fainelli <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions