FROMGIT: 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> Bug: 313502838 Bug: 296925310 (cherry picked from commit 2079b60b https://kernel.googlesource.com/pub/scm/linux/kernel/git/gregkh/usb usb-next) Signed-off-by:
Avichal Rakesh <arakesh@google.com> (cherry picked from https://android-review.googlesource.com/q/commit:00417482153bcbb10254487a48198db301e21585) Merged-In: Ie8934e6fe1577373b01e3c66626e4239cf9f8c83 Change-Id: Ie8934e6fe1577373b01e3c66626e4239cf9f8c83
Loading
Please sign in to comment