On Fri, May 13, 2016 at 02:29:03AM +0000, Scott Wood wrote: > On 05/12/2016 11:31 AM, Mark Brown wrote: > >> That means no matter core is LE or BE, we both need get the value from DSPI register > >> with big endian. > > That's not how regmap is intended to be used, the intention is that the > > driver will interact with native endian values and regmap will hide the > > endianness changes. You could mask this with some cpu_to_be() and > > be_to_cpu() usage but I'm not sure it's a great idea or what it's buying > > you. > I don't think that's what Yao Yuan meant. The driver wants the I/O > accessor to return native-endian values, just like any other driver. This really isn't clear to me.
Attachment:
signature.asc
Description: PGP signature