diff options
author | Avichal Rakesh <arakesh@google.com> | 2023-11-08 16:41:03 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-11-23 12:32:44 +0000 |
commit | 2079b60bda3257146a4e8ed7525513865f7e6b3e (patch) | |
tree | bda4d2c0842c7be4a59eccd2c793e2c627b04da7 /drivers/usb/cdns3/cdns3-trace.h | |
parent | aeb686a98a9e9743c4c0338957e59643a2708146 (diff) |
usb: gadget: uvc: move video disable logic to its own function
This patch refactors the video disable logic in uvcg_video_enable
into its own separate function 'uvcg_video_disable'. This function
is now used anywhere uvcg_video_enable(video, 0) was used.
Reviewed-by: Daniel Scally <dan.scally@ideasonboard.com>
Suggested-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Avichal Rakesh <arakesh@google.com>
Link: https://lore.kernel.org/r/20231109004104.3467968-3-arakesh@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.h')
0 files changed, 0 insertions, 0 deletions