linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: shuah <shuah@kernel.org>
To: Hans Verkuil <hverkuil@xs4all.nl>,
	mchehab@kernel.org, perex@perex.cz, tiwai@suse.com
Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org,
	alsa-devel@alsa-project.org, shuah <shuah@kernel.org>
Subject: Re: [RFC PATCH v8 4/4] sound/usb: Use Media Controller API to share media resources
Date: Thu, 6 Dec 2018 08:34:57 -0700	[thread overview]
Message-ID: <3aef49a1-2dd7-c6c6-7c2e-5ba3cc76a695@kernel.org> (raw)
In-Reply-To: <0b919080-669a-a266-c85c-66dc724a536b@xs4all.nl>

Hi Hans,

On 11/20/18 4:54 AM, Hans Verkuil wrote:
> On 11/02/2018 01:31 AM, shuah@kernel.org wrote:
>> From: Shuah Khan <shuah@kernel.org>
>>
>> Change ALSA driver to use Media Controller API to share media resources
>> with DVB, and V4L2 drivers on a AU0828 media device.
>>
>> Media Controller specific initialization is done after sound card is
>> registered. ALSA creates Media interface and entity function graph
>> nodes for Control, Mixer, PCM Playback, and PCM Capture devices.
>>
>> snd_usb_hw_params() will call Media Controller enable source handler
>> interface to request the media resource. If resource request is granted,
>> it will release it from snd_usb_hw_free(). If resource is busy, -EBUSY is
>> returned.
>>
>> Media specific cleanup is done in usb_audio_disconnect().
>>
>> Signed-off-by: Shuah Khan <shuah@kernel.org>

Thanks for the review. Fixing them all in the next revision.

-- Shuah


      reply	other threads:[~2018-12-06 15:35 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-02  0:31 [RFC PATCH v8 0/4] Media Device Allocator API shuah
     [not found] ` <cover.1541109584.git.shuah@kernel.org>
2018-11-02  0:31   ` [RFC PATCH v8 1/4] media: " shuah
2018-11-19  8:59     ` Pavel Machek
2018-12-06 15:33       ` shuah
2018-12-09  8:09         ` Pavel Machek
2018-12-09 11:27           ` Mauro Carvalho Chehab
2018-12-09 11:37             ` Pavel Machek
2018-11-20 11:20     ` Hans Verkuil
2018-12-06 15:27       ` shuah
2018-11-02  0:31   ` [RFC PATCH v8 2/4] media: change au0828 to use " shuah
2018-11-02  0:31   ` [RFC PATCH v8 3/4] media: media.h: Enable ALSA MEDIA_INTF_T* interface types shuah
2018-11-20 11:22     ` Hans Verkuil
2018-12-06 15:29       ` shuah
2018-11-02  0:31   ` [RFC PATCH v8 4/4] sound/usb: Use Media Controller API to share media resources shuah
2018-11-20 11:54     ` Hans Verkuil
2018-12-06 15:34       ` shuah [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=3aef49a1-2dd7-c6c6-7c2e-5ba3cc76a695@kernel.org \
    --to=shuah@kernel.org \
    --cc=alsa-devel@alsa-project.org \
    --cc=hverkuil@xs4all.nl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=perex@perex.cz \
    --cc=tiwai@suse.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).