[alsa-devel] ASoC: codec: SPDIF only works with Tx/Rx seperate codec drivers?

Mark Brown broonie at kernel.org
Fri Jul 12 16:29:50 CEST 2013

On Fri, Jul 12, 2013 at 07:57:13PM +0800, Nicolin Chen wrote:
> On Fri, Jul 12, 2013 at 12:33:53PM +0100, Mark Brown wrote:
> > We could just merge them into a single driver easily enough.

> Merge spdif_receiver.c and spdif_transmitter.c?
> But each of them is being individually used by several drivers:
> davinci/davinci-evm.c
> samsung/smdk_spdif.c
> spear/spdif_in.c
> spear/spdif_out.c

> If we merge these two files, it would break their functions.
> Especially for spear's platform, seems they are using SPDIF
> IN and OUT separately.

Why would it break them?  You can always instantiate two copies.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20130712/062dffec/attachment.sig>

More information about the Alsa-devel mailing list