lkml.org 
[lkml]   [2016]   [Mar]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/4] media add change_source handler support
Date
This patch series:
1. Adds change_source function pointer to struct media_device. Using
the change_source handler, driver can disable current source and
enable new one in one step when user selects a new input.
2. Add a new common v4l interface to call change_source handler
3. Add change_source hanlder to au0828-core
4. Change change vidioc_s_input() to call v4l_change_media_source()

Shuah Khan (4):
media: add change_source handler function pointer
media: v4l2-mc add v4l_change_media_source() to invoke change_source
media: au0828 add media device change_source handler
media: au0828 change vidioc_s_input() to call
v4l_change_media_source()

drivers/media/usb/au0828/au0828-core.c | 64 +++++++++++++++++++++++----------
drivers/media/usb/au0828/au0828-video.c | 8 ++---
drivers/media/v4l2-core/v4l2-mc.c | 14 ++++++++
include/media/media-device.h | 18 ++++++++--
include/media/v4l2-mc.h | 20 ++++++++++-
5 files changed, 97 insertions(+), 27 deletions(-)

--
2.5.0

\
 
 \ /
  Last update: 2016-03-10 06:41    [W:1.084 / U:0.520 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site