Searched hist:"2079 b60bda3257146a4e8ed7525513865f7e6b3e" (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/usb/gadget/function/ |
H A D | uvc_video.h | diff 2079b60bda3257146a4e8ed7525513865f7e6b3e Thu Nov 09 01:41:03 CET 2023 Avichal Rakesh <arakesh@google.com> 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>
|
H A D | uvc_video.c | diff 2079b60bda3257146a4e8ed7525513865f7e6b3e Thu Nov 09 01:41:03 CET 2023 Avichal Rakesh <arakesh@google.com> 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>
|