[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160413140657.GT14664@sirena.org.uk>
Date: Wed, 13 Apr 2016 15:06:57 +0100
From: Mark Brown <broonie@...nel.org>
To: Po Liu <po.liu@....com>
Cc: linux-spi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] dspi: config dspi master regmap with right mode depend
on BE or LE
On Wed, Apr 13, 2016 at 07:03:22PM +0800, Po Liu wrote:
> When kernel config with big endian mode, spi master need
> to config regmap data value to be little endian mode. Or else,
> the kernel boot will hang.
> +#ifdef CONFIG_CPU_BIG_ENDIAN
> + .val_format_endian = REGMAP_ENDIAN_LITTLE,
> +#endif
This should be unconditionally set to native endian if the IP changes
endianness along with the CPU.
Download attachment "signature.asc" of type "application/pgp-signature" (474 bytes)
Powered by blists - more mailing lists