Re: [PATCH v2] iio: mcp320x: Fix occasional incorrect readings

2015-05-08 Thread jic23
Michael Welling writes: On Thu, May 07, 2015 at 11:13:15AM +0100, Jonathan Cameron wrote: On 06/05/15 17:49, Michael Welling wrote: > Without the cacheline alignment, the readings will occasionally incorrectly > return 0. > > Signed-off-by: Michael Welling Applied to the fixes-togreg branch

Re: [PATCH v2] iio: mcp320x: Fix occasional incorrect readings

2015-05-07 Thread Michael Welling
On Thu, May 07, 2015 at 11:13:15AM +0100, Jonathan Cameron wrote: > On 06/05/15 17:49, Michael Welling wrote: > > Without the cacheline alignment, the readings will occasionally incorrectly > > return 0. > > > > Signed-off-by: Michael Welling > Applied to the fixes-togreg branch of iio.git. Not

Re: [PATCH v2] iio: mcp320x: Fix occasional incorrect readings

2015-05-07 Thread Jonathan Cameron
On 06/05/15 17:49, Michael Welling wrote: > Without the cacheline alignment, the readings will occasionally incorrectly > return 0. > > Signed-off-by: Michael Welling Applied to the fixes-togreg branch of iio.git. Not sure when I'll be able to push this out publicly as travelling / working night

[PATCH v2] iio: mcp320x: Fix occasional incorrect readings

2015-05-06 Thread Michael Welling
Without the cacheline alignment, the readings will occasionally incorrectly return 0. Signed-off-by: Michael Welling --- v2: Moved buffers to the end of the mcp320x struct per suggestion to keep them on their own cacheline. drivers/iio/adc/mcp320x.c |6 +++--- 1 file changed, 3 insertions(