]> git.ipfire.org Git - thirdparty/linux.git/commit
iio: buffer: iio_push_to_buffers_with_ts_unaligned() might_sleep()
authorDavid Lechner <dlechner@baylibre.com>
Tue, 16 Sep 2025 21:02:52 +0000 (16:02 -0500)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 13 Oct 2025 07:37:23 +0000 (08:37 +0100)
commita8c8aad411554755ab59621dc6961db8a4c8af7a
tree308941eff8d97db5f544a1a2010c451967a7a773
parent6b166e815cdcf2ddb755ca5311a5343635ff9610
iio: buffer: iio_push_to_buffers_with_ts_unaligned() might_sleep()

Call might_sleep() in iio_push_to_buffers_with_ts_unaligned() since it
can allocate memory, which may sleep.

Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: David Lechner <dlechner@baylibre.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/industrialio-buffer.c