[alsa-devel] [PATCH] asoc: add dummy codec

Stas Sergeev stsp at list.ru
Thu Apr 11 12:36:57 CEST 2013


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

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.

Signed-off-by: Stas Sergeev <stsp at users.sourceforge.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-asoc-add-dummy-codec.patch
Type: application/x-patch
Size: 4553 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20130411/c54233b5/attachment.bin>

More information about the Alsa-devel mailing list