Drop the wait_prepare/finish callbacks. Instead require that the vb2_queue lock field is always set and use that lock when waiting for buffers to arrive.
Showing the changes to Documentation/userspace-api (1 of 3 files). Show all
Unified · Split
| @@ -42,8 +42,6 @@ nitpick_ignore = [ · 41 unmodified lines | |||
| 42 | ("c:func", "struct fd_set"), | 42 | ("c:func", "struct fd_set"), |
| 43 | ("c:func", "struct pollfd"), | 43 | ("c:func", "struct pollfd"), |
| 44 | ("c:func", "usb_make_path"), | 44 | ("c:func", "usb_make_path"), |
| 45 | ("c:func", "wait_finish"), | ||
| 46 | ("c:func", "wait_prepare"), | ||
| 47 | ("c:func", "write"), | 45 | ("c:func", "write"), |
| 48 | 46 | ||
| 49 | ("c:type", "atomic_t"), | 47 | ("c:type", "atomic_t"), |