diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-03-18 14:56:57 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-03-28 15:29:47 +0300 |
commit | c7b5b7570476d8207a364e4d3625537078d3ba1f (patch) | |
tree | 894f7f18afbe8be45032973230ad1d5e6d201ae7 /include/linux | |
parent | 944f0765ee4dc30a9d520cc34d4f44d760b75b7d (diff) |
Return an error status when capture fails
The video_do_capture() function overrides the error code when a failure
occurs. This prevents returning an error status to the calling process.
Fix it.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions