]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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:11:04 +0000 (08:11 +0100)
commitedc59c4d6bfb7bc1613862fbe9e4f060dcfc3b0e
tree3759e4c26a2072b04f610333d772cc01b1a3aafc
parent31b71e1f025ad029b93ebb21b2164b3cb885b1ef
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