media/gpu/v4l2: add sequence checker to V4L2Device
The V4L2Device class has grown a bit chaotically, and proper sequence checking is not currently being enforced, although other classes of the same unit (V4L2Queue notably) do sequence checking. Add a sequence checker for the queue-related methods, which must always be called from the client's sequence. The use of this checker will be expanded to new use-cases and hopefully to older ones as well as we confirm they are safe. Bug: 1003223 Test: vdatests passing on Kevin. Change-Id: I60aa8eb52e48a13fa99c42990af2f621982c44e2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1799651 Commit-Queue: Alexandre Courbot <acourbot@chromium.org> Auto-Submit: Alexandre Courbot <acourbot@chromium.org> Reviewed-by:Chih-Yu Huang <akahuang@chromium.org> Reviewed-by:
Hirokazu Honda <hiroh@chromium.org> Cr-Commit-Position: refs/heads/master@{#696044}
Showing
Please register or sign in to comment