diff options
author | Chaithrika U S <chaithrika@ti.com> | 2009-05-28 11:10:50 +0200 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-05-28 15:48:38 +0200 |
commit | be461ba836770263826457624bc4a5173a1f5040 (patch) | |
tree | 6c951dace18890c4e070d4479ce124effe1a3a06 /sound/soc/codecs/spdif_transciever.h | |
parent | ASoC: correct print specifiers for unsigneds (diff) | |
download | linux-be461ba836770263826457624bc4a5173a1f5040.tar.xz linux-be461ba836770263826457624bc4a5173a1f5040.zip |
ASoC: Add dummy S/PDIF codec support
McASP on DM646x can operate in DIT (S/PDIF) where no codec is needed.
This patch provides stub codec that can be used in these configurations.
On DM646x EVM the McASP1 is connected to the S/PDIF out.
Signed-off-by: Steve Chen <schen@mvista.com>
Signed-off-by: Pavel Kiryukhin <pkiryukhin@ru.mvista.com>
Signed-off-by: Naresh Medisetty <naresh@ti.com>
Signed-off-by: Chaithrika U S <chaithrika@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/spdif_transciever.h')
-rw-r--r-- | sound/soc/codecs/spdif_transciever.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/sound/soc/codecs/spdif_transciever.h b/sound/soc/codecs/spdif_transciever.h new file mode 100644 index 000000000000..296f2eb6c4ef --- /dev/null +++ b/sound/soc/codecs/spdif_transciever.h @@ -0,0 +1,17 @@ +/* + * ALSA SoC DIT/DIR driver header + * + * Author: Steve Chen, <schen@mvista.com> + * Copyright: (C) 2008 MontaVista Software, Inc., <source@mvista.com> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +#ifndef CODEC_STUBS_H +#define CODEC_STUBS_H + +extern struct snd_soc_dai dit_stub_dai; + +#endif /* CODEC_STUBS_H */ |