[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <3aef49a1-2dd7-c6c6-7c2e-5ba3cc76a695@kernel.org>
Date: Thu, 6 Dec 2018 08:34:57 -0700
From: shuah <shuah@...nel.org>
To: Hans Verkuil <hverkuil@...all.nl>, mchehab@...nel.org,
perex@...ex.cz, tiwai@...e.com
Cc: linux-media@...r.kernel.org, linux-kernel@...r.kernel.org,
alsa-devel@...a-project.org, shuah <shuah@...nel.org>
Subject: Re: [RFC PATCH v8 4/4] sound/usb: Use Media Controller API to share
media resources
Hi Hans,
On 11/20/18 4:54 AM, Hans Verkuil wrote:
> On 11/02/2018 01:31 AM, shuah@...nel.org wrote:
>> From: Shuah Khan <shuah@...nel.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@...nel.org>
Thanks for the review. Fixing them all in the next revision.
-- Shuah
Powered by blists - more mailing lists