iio: ti-ads8688: Update buffer allocation for timestamps
authorDan Murphy <dmurphy@ti.com>
Fri, 11 Jan 2019 19:57:07 +0000 (13:57 -0600)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 12 Jan 2019 18:32:28 +0000 (18:32 +0000)
commit74d7ec0fa77f280c03fe326b37f55d1e926f0d66
tree713a24a92910184106f7c920a6a6a5ee8778aec7
parentbbaeab455f2d09d70ca85a1172a39995c76fb393
iio: ti-ads8688: Update buffer allocation for timestamps

Per Jonathan Cameron, the buffer needs to allocate room for a
64 bit timestamp as well as the channels.  Change the buffer
to allocate this additional space.

Fixes: 16865cc408be6 ("iio: adc: ti-ads8688: add trigger and buffer support")
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ti-ads8688.c