diff options
| author | Ricardo Ribalda <[email protected]> | 2025-03-27 21:05:27 +0000 |
|---|---|---|
| committer | Hans Verkuil <[email protected]> | 2025-05-09 13:29:12 +0000 |
| commit | 14f6e205e5599c2217b68c05b903ce162e7c1e27 (patch) | |
| tree | 7f74feff57b08a8f2511bd7b8d72a93f1aa50fa9 /rust/helpers/security.c | |
| parent | Documentation: media: Add documentation file c3-isp.rst (diff) | |
| download | kernel-14f6e205e5599c2217b68c05b903ce162e7c1e27.tar.gz kernel-14f6e205e5599c2217b68c05b903ce162e7c1e27.zip | |
media: uvcvideo: Keep streaming state in the file handle
Add a variable in the file handle state to figure out if a camera is in
the streaming state or not. This variable will be used in the future for
power management policies.
Now that we are at it, make use of guards to simplify the code.
Reviewed-by: Laurent Pinchart <[email protected]>
Reviewed-by: Hans de Goede <[email protected]>
Signed-off-by: Ricardo Ribalda <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'rust/helpers/security.c')
0 files changed, 0 insertions, 0 deletions
