iio: mcp320x: Fix occasional incorrect readings
authorMichael Welling <mwelling@ieee.org>
Wed, 6 May 2015 16:49:17 +0000 (11:49 -0500)
committerJonathan Cameron <jic23@kernel.org>
Thu, 7 May 2015 10:12:20 +0000 (11:12 +0100)
commit0e81bc99a0826db4cd2d6ba9a982579b1467a79f
treead5c9125446f561812810fd542850fba23aad2b3
parent1d93353da536d3403ac291dc96070f434f6cf285
iio: mcp320x: Fix occasional incorrect readings

Without the cacheline alignment, the readings will occasionally incorrectly
return 0.

Signed-off-by: Michael Welling <mwelling@ieee.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/mcp320x.c