[alsa-devel] [PATCH] ASoC: spdif: Add codec driver to use spdif stand-alone

Mark Brown broonie at opensource.wolfsonmicro.com
Mon May 31 14:42:29 CEST 2010

On Thu, May 27, 2010 at 06:13:48PM +0900, Seungwhan Youn wrote:
> This patch adds spdif dummy codec driver for using spdif-dit as
> a stand-alone. Until this, spdif-dit can be used only with other
> codecs like tlv320aci3x in davinci platform.
> Signed-off-by: Seungwhan Youn <sw.youn at samsung.com>


sound/soc/codecs/spdif_transciever.c:67:29: warning: symbol 'soc_codec_dev_spdif_dit' was not declared. Should it be static?
sound/soc/codecs/spdif_transciever.c:95:17: error: undefined identifier 'kzalloc'
sound/soc/codecs/spdif_transciever.c:131:9: error: undefined identifier 'kfree'
sound/soc/codecs/spdif_transciever.c:139:9: error: undefined identifier 'kfree'
  CC [M]  sound/soc/codecs/spdif_transciever.o
sound/soc/codecs/spdif_transciever.c: In function ‘spdif_dit_probe’:
sound/soc/codecs/spdif_transciever.c:95: error: implicit declaration of function ‘kzalloc’
sound/soc/codecs/spdif_transciever.c:95: warning: assignment makes pointer from integer without a cast
sound/soc/codecs/spdif_transciever.c:131: error: implicit declaration of function ‘kfree’

I've fixed these up.

More information about the Alsa-devel mailing list