Re: [PATCH] iio: 104-quad-8: Fix off-by-one errors when addressing IOR

2016-12-03 Thread Jonathan Cameron
On 28/11/16 21:55, William Breathitt Gray wrote: > The Input/Output Control register (IOR) is offset by 1 from the > respective channel data register. This patch fixes off-by-one errors > when attempting to write to a channel IOR where the base address was not > properly offset. > > Fixes: 28e5d3b

[PATCH] iio: 104-quad-8: Fix off-by-one errors when addressing IOR

2016-11-28 Thread William Breathitt Gray
The Input/Output Control register (IOR) is offset by 1 from the respective channel data register. This patch fixes off-by-one errors when attempting to write to a channel IOR where the base address was not properly offset. Fixes: 28e5d3bb0325 ("iio: 104-quad-8: Add IIO support for the ACCES 104-Q