From: Lars-Peter Clausen <lars@metafoo.de>
To: Stas Sergeev <stsp@list.ru>
Cc: ALSA devel <alsa-devel@alsa-project.org>, Steve Chen <schen@mvista.com>
Subject: Re: [PATCH] asoc: add dummy codec
Date: Thu, 11 Apr 2013 16:21:43 +0200 [thread overview]
Message-ID: <5166C6F7.3070706@metafoo.de> (raw)
In-Reply-To: <5166C139.8@list.ru>
On 04/11/2013 03:57 PM, Stas Sergeev wrote:
> 11.04.2013 14:41, Lars-Peter Clausen пишет:
>> On 04/11/2013 12:36 PM, Stas Sergeev wrote:
>>> Hi.
>>>
>>> The attached patch adds a dummy codec for the
>>> asoc subsystem.
>>> I use it with the driver that programs the soc to drive
>>> I2S from an internal PLLs, and the audio then goes to
>>> HDMI, so no external codec is used.
>>> I've found spdif_transciever.c, which exactly is such a
>>> dummy driver, but it is bound to the particular plat
>>> device, so I made the device name a config option, and
>>> if not set, the plat device is created with the default
>>> name.
>>>
>>> It may be possible to avoid the usage of the codec driver
>>> at all, but I haven't succeeded with this, and the existance
>>> of spdif_transciever.c suggests there is no such way.
>>> Thoughts?
>>>
>>> Signed-off-by: Stas Sergeev <stsp@users.sourceforge.net>
>>>
>> Hi,
>>
>> There is already a dummy codec driver.
>>
>> Please take a look at sound/soc/soc-utils.c
> Hi, I've seen that, but how can I get use of it?
> It doesn't do snd_soc_register_codec(), and in debugfs
It does:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/sound/soc/soc-utils.c#n101
- Lars
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
next prev parent reply other threads:[~2013-04-11 14:22 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-11 10:36 [PATCH] asoc: add dummy codec Stas Sergeev
2013-04-11 10:41 ` Lars-Peter Clausen
2013-04-11 13:57 ` Stas Sergeev
2013-04-11 14:21 ` Lars-Peter Clausen [this message]
2013-04-11 14:33 ` Stas Sergeev
2013-04-11 15:11 ` Stas Sergeev
2013-04-11 15:48 ` Gabriel M. Beddingfield
2013-04-11 16:03 ` Stas Sergeev
2013-04-11 16:13 ` Gabriel M. Beddingfield
2013-04-11 16:44 ` Stas Sergeev
2013-04-11 18:02 ` Lars-Peter Clausen
2013-04-12 2:58 ` Gabriel M. Beddingfield
2013-04-12 2:50 ` Gabriel M. Beddingfield
2013-04-12 9:09 ` Stas Sergeev
2013-04-11 17:58 ` Lars-Peter Clausen
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=5166C6F7.3070706@metafoo.de \
--to=lars@metafoo.de \
--cc=alsa-devel@alsa-project.org \
--cc=schen@mvista.com \
--cc=stsp@list.ru \
/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