linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Shuah Khan <shuahkh@osg.samsung.com>
To: mchehab@osg.samsung.com, hans.verkuil@cisco.com,
	chehabrafael@gmail.com, javier@osg.samsung.com,
	inki.dae@samsung.com, jh1009.sung@samsung.com,
	sakari.ailus@linux.intel.com
Cc: Shuah Khan <shuahkh@osg.samsung.com>,
	linux-media@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 0/4] media add change_source handler support
Date: Wed,  9 Mar 2016 22:07:06 -0700	[thread overview]
Message-ID: <cover.1457585839.git.shuahkh@osg.samsung.com> (raw)

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

             reply	other threads:[~2016-03-10  5:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-10  5:07 Shuah Khan [this message]
2016-03-10  5:07 ` [PATCH 1/4] media: add change_source handler function pointer Shuah Khan
2016-03-10  5:07 ` [PATCH 2/4] media: v4l2-mc add v4l_change_media_source() to invoke change_source Shuah Khan
2016-03-10  5:07 ` [PATCH 3/4] media: au0828 add media device change_source handler Shuah Khan
2016-03-10  5:07 ` [PATCH 4/4] media: au0828 change vidioc_s_input() to call v4l_change_media_source() Shuah Khan
2016-03-10  6:55   ` kbuild test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1457585839.git.shuahkh@osg.samsung.com \
    --to=shuahkh@osg.samsung.com \
    --cc=chehabrafael@gmail.com \
    --cc=hans.verkuil@cisco.com \
    --cc=inki.dae@samsung.com \
    --cc=javier@osg.samsung.com \
    --cc=jh1009.sung@samsung.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@osg.samsung.com \
    --cc=sakari.ailus@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).