diff options
author | Hans de Goede <[email protected]> | 2024-10-13 17:40:53 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2024-11-07 15:16:06 +0100 |
commit | 751d13a0cffb5c0420bcf8bbd7bd613f2a359d89 (patch) | |
tree | 0af96520dfe40dd0038e33548b2a5443927431eb /tools/perf/scripts/python/gecko.py | |
parent | 785fbc62d5e94e241504627137fd8adfd94ba601 (diff) |
media: atomisp: Fix WARN_ON() in vb2_start_streaming() triggering
If atomisp fails to start the stream the buffers must be returned to
the VB2_BUF_STATE_QUEUED state before returning an error from
atomisp_start_streaming().
This fixes the following WARN_ON():
[ 250.313554] WARNING: CPU: 3 PID: 2178 at drivers/media/common/videobuf2/videobuf2-core.c:1801 vb2_start_streaming+0xcb/0x150 [videobuf2_common]
Signed-off-by: Hans de Goede <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions