Re: [PATCH] dsa: b53: fix big-endian register access

2016-06-16 Thread David Miller
From: Arnd Bergmann Date: Thu, 16 Jun 2016 11:00:05 +0200 > The b53 dsa register access confusingly uses __raw register accessors > when both the CPU and the device are big-endian, but it uses little- > endian accessors when the same device is used from a little-endian > CPU, which makes no sense

Re: [PATCH] dsa: b53: fix big-endian register access

2016-06-16 Thread Florian Fainelli
On 06/16/2016 02:00 AM, Arnd Bergmann wrote: > The b53 dsa register access confusingly uses __raw register accessors > when both the CPU and the device are big-endian, but it uses little- > endian accessors when the same device is used from a little-endian > CPU, which makes no sense. > > This use

[PATCH] dsa: b53: fix big-endian register access

2016-06-16 Thread Arnd Bergmann
The b53 dsa register access confusingly uses __raw register accessors when both the CPU and the device are big-endian, but it uses little- endian accessors when the same device is used from a little-endian CPU, which makes no sense. This uses normal accessors in device-endianess all the time, whic