]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
iio: adc: ad7923: Fix undersized rx buffer.
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 1 May 2021 16:53:14 +0000 (17:53 +0100)
committerStefan Bader <stefan.bader@canonical.com>
Wed, 30 Jun 2021 06:27:12 +0000 (08:27 +0200)
commit7a8a5f389f2dec25921964b5ac35927ac11914fa
treecfb398c52a042bf7c7bde9ece7bb7efa2e8f0381
parent2405f297262c997a25d4cdbcda1bd5ca6431ec19
iio: adc: ad7923: Fix undersized rx buffer.

BugLink: https://bugs.launchpad.net/bugs/1931896
commit 01fcf129f61b26d5b3d2d8afb03e770dee271bc8 upstream.

Fixes tag is where the max channels became 8, but timestamp space was missing
before that.

Fixes: 851644a60d20 ("iio: adc: ad7923: Add support for the ad7908/ad7918/ad7928")
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Daniel Junho <djunho@gmail.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20210501165314.511954-3-jic23@kernel.org
Cc: <Stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kelsey Skunberg <kelsey.skunberg@canonical.com>
drivers/iio/adc/ad7923.c