Re: [PATCH v2 06/14] spi: bcm63xx-hsspi: Endianness fix for ARM based SoC

From: Florian Fainelli
Date: Tue Jan 24 2023 - 17:48:13 EST


On 1/24/23 14:12, William Zhang wrote:
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 <kursad.oney@xxxxxxxxxxxx>
Signed-off-by: William Zhang <william.zhang@xxxxxxxxxxxx>

Acked-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
--
Florian