From: Shuah Khan <shuahkh@osg.samsung.com>
To: mchehab@osg.samsung.com, hans.verkuil@cisco.com,
inki.dae@samsung.com, g.liakhovetski@gmx.de
Cc: laurent.pinchart@ideasonboard.com, sakari.ailus@iki.fi,
chehabrafael@gmail.com, javier@osg.samsung.com,
jh1009.sung@samsung.com, linux-media@vger.kernel.org,
linux-kernel@vger.kernel.org,
Shuah Khan <shuahkh@osg.samsung.com>
Subject: Re: [PATCH v2 0/2] Media Device Allocator API
Date: Tue, 28 Jun 2016 13:56:54 -0600 [thread overview]
Message-ID: <5772D686.30902@osg.samsung.com> (raw)
In-Reply-To: <cover.1464132578.git.shuahkh@osg.samsung.com>
On 05/24/2016 05:39 PM, Shuah Khan wrote:
> Media Device Allocator API to allows multiple drivers share a media device.
> Using this API, drivers can allocate a media device with the shared struct
> device as the key. Once the media device is allocated by a driver, other
> drivers can get a reference to it. The media device is released when all
> the references are released.
>
> This patch series has been tested with au0828 and snd-usb-audio drivers.
> snd-us-audio patch isn't included in this series. Once this patch series
> is reviews and gets a stable state, I will send out the snd-usb-audio
> patch.
>
> Changes since Patch v1 series: (based on Hans Virkuil's review)
> - Removed media_device_get() and media_device_allocate(). These are
> unnecessary.
> - media_device_usb_allocate() holds media_device_lock to do allocate
> and initialize the media device.
> - Changed media_device_put() to media_device_delete() for symmetry with
> media_device_*_allocate().
> - Dropped media_device_unregister_put(). au0828 calls media_device_delete()
> instead.
>
> Shuah Khan (2):
> media: Media Device Allocator API
> media: change au0828 to use Media Device Allocator API
>
> drivers/media/Makefile | 3 +-
> drivers/media/media-dev-allocator.c | 120 +++++++++++++++++++++++++++++++++
> drivers/media/usb/au0828/au0828-core.c | 12 ++--
> drivers/media/usb/au0828/au0828.h | 1 +
> include/media/media-dev-allocator.h | 85 +++++++++++++++++++++++
> 5 files changed, 212 insertions(+), 9 deletions(-)
> create mode 100644 drivers/media/media-dev-allocator.c
> create mode 100644 include/media/media-dev-allocator.h
>
Hi Mauro,
Are you planning to get this inot 4,8-rc1?
The first patch is now at [PATCH v3] media: Media Device Allocator API
that has been reviewed by Hans.
https://lkml.org/lkml/2016/5/27/530
thanks,
-- Shuah
prev parent reply other threads:[~2016-06-28 19:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-24 23:39 [PATCH v2 0/2] Media Device Allocator API Shuah Khan
2016-05-24 23:39 ` [PATCH v2 1/2] media: " Shuah Khan
2016-05-27 13:26 ` Hans Verkuil
2016-05-27 20:44 ` Shuah Khan
2016-05-24 23:39 ` [PATCH v2 2/2] media: change au0828 to use " Shuah Khan
2016-06-28 19:56 ` Shuah Khan [this message]
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=5772D686.30902@osg.samsung.com \
--to=shuahkh@osg.samsung.com \
--cc=chehabrafael@gmail.com \
--cc=g.liakhovetski@gmx.de \
--cc=hans.verkuil@cisco.com \
--cc=inki.dae@samsung.com \
--cc=javier@osg.samsung.com \
--cc=jh1009.sung@samsung.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@osg.samsung.com \
--cc=sakari.ailus@iki.fi \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.