diff options
author | Gabriele Mazzotta <gabriele.mzt@gmail.com> | 2015-05-02 08:31:16 -0400 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-05-07 18:36:58 -0400 |
commit | e5f1efb9ae71bbb79629d660dc19b51ce7b95439 (patch) | |
tree | fb9414341e79faad10f508d0d19b18eb1db62e1f /scripts/gdb/linux/modules.py | |
parent | 0e81bc99a0826db4cd2d6ba9a982579b1467a79f (diff) |
iio: kfifo: Set update_needed to false only if a buffer was allocated
Check whether the allocation of a new kfifo buffer failed or not before
setting the update_needed flag to false. This will make
iio_request_update_kfifo() try to allocate a new buffer the next time a
buffer update is requested.
Signed-off-by: Gabriele Mazzotta <gabriele.mzt@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions