提交 06412088 编写于 作者: H Heiko Stübner 提交者: Mark Brown

ASoC: s3c2412-i2s: Fix dai registration

As s3c2412-i2s is using the s3c_i2sv2 it should call the more specialised
s3c_i2sv2_register_dai instead of simply calling snd_soc_register_dai.

Without this call the snd_soc_dai_ops structure isn't initialised correctly.
Signed-off-by: NHeiko Stuebner <heiko@sntech.de>
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 30facd4d
...@@ -166,7 +166,7 @@ static struct snd_soc_dai_driver s3c2412_i2s_dai = { ...@@ -166,7 +166,7 @@ static struct snd_soc_dai_driver s3c2412_i2s_dai = {
static __devinit int s3c2412_iis_dev_probe(struct platform_device *pdev) static __devinit int s3c2412_iis_dev_probe(struct platform_device *pdev)
{ {
return snd_soc_register_dai(&pdev->dev, &s3c2412_i2s_dai); return s3c_i2sv2_register_dai(&pdev->dev, -1, &s3c2412_i2s_dai);
} }
static __devexit int s3c2412_iis_dev_remove(struct platform_device *pdev) static __devexit int s3c2412_iis_dev_remove(struct platform_device *pdev)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册