Arnd Bergmann wrote:
Then please remove the double-swap. If the device works like any other device in the system, then the byteswap that is implied by readl/writel will do the right thing, and swapping twice will break big-endian kernels.
Should I still keep the __le32 in the structs?