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)
commitf214ff521fb1f861c8d7f7d0af98b06bf61b3369
tree713a24a92910184106f7c920a6a6a5ee8778aec7
parentb119d3bc328e7a9574861ebe0c2110e2776c2de1
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: 2a86487786b5c ("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