Re: [PATCH] soc: qcom: cmd-db: Make endian-agnostic

2018-04-17 Thread Lina Iyer
On Tue, Apr 17 2018 at 11:22 -0600, Lina Iyer wrote: On Thu, Apr 12 2018 at 16:41 -0600, Stephen Boyd wrote: This driver deals with memory that is stored in little-endian format. Update the structures with the proper little-endian types and then do the proper conversions when reading the

Re: [PATCH] soc: qcom: cmd-db: Make endian-agnostic

2018-04-17 Thread Lina Iyer
On Tue, Apr 17 2018 at 11:22 -0600, Lina Iyer wrote: On Thu, Apr 12 2018 at 16:41 -0600, Stephen Boyd wrote: This driver deals with memory that is stored in little-endian format. Update the structures with the proper little-endian types and then do the proper conversions when reading the

Re: [PATCH] soc: qcom: cmd-db: Make endian-agnostic

2018-04-17 Thread Lina Iyer
On Thu, Apr 12 2018 at 16:41 -0600, Stephen Boyd wrote: This driver deals with memory that is stored in little-endian format. Update the structures with the proper little-endian types and then do the proper conversions when reading the fields. Note that we compare the ids with a memcmp() because

Re: [PATCH] soc: qcom: cmd-db: Make endian-agnostic

2018-04-17 Thread Lina Iyer
On Thu, Apr 12 2018 at 16:41 -0600, Stephen Boyd wrote: This driver deals with memory that is stored in little-endian format. Update the structures with the proper little-endian types and then do the proper conversions when reading the fields. Note that we compare the ids with a memcmp() because

Re: [PATCH] soc: qcom: cmd-db: Make endian-agnostic

2018-04-16 Thread Evan Green
On Thu, Apr 12, 2018 at 3:41 PM Stephen Boyd wrote: > This driver deals with memory that is stored in little-endian format. > Update the structures with the proper little-endian types and then > do the proper conversions when reading the fields. Note that we compare > the

Re: [PATCH] soc: qcom: cmd-db: Make endian-agnostic

2018-04-16 Thread Evan Green
On Thu, Apr 12, 2018 at 3:41 PM Stephen Boyd wrote: > This driver deals with memory that is stored in little-endian format. > Update the structures with the proper little-endian types and then > do the proper conversions when reading the fields. Note that we compare > the ids with a memcmp()