iio: ti-ads8688: Update buffer allocation for timestamps
authorDan Murphy <dmurphy@ti.com>
Fri, 11 Jan 2019 19:57:07 +0000 (13:57 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Feb 2019 07:10:10 +0000 (08:10 +0100)
commit3e17af253e627d4c652f9a9eae7e02fc1936765b
treeb675316d1efd8bf9c4c3c4a72efe0b26d3909076
parentaf770a1558c4415cd4b74cf7bf30e09be7b77a30
iio: ti-ads8688: Update buffer allocation for timestamps

commit f214ff521fb1f861c8d7f7d0af98b06bf61b3369 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/iio/adc/ti-ads8688.c