Skip to content

Commit 0641208

Browse files
mmindbroonie
authored andcommitted
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: Heiko Stuebner <[email protected]> Signed-off-by: Mark Brown <[email protected]>
1 parent 30facd4 commit 0641208

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/soc/samsung/s3c2412-i2s.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ static struct snd_soc_dai_driver s3c2412_i2s_dai = {
166166

167167
static __devinit int s3c2412_iis_dev_probe(struct platform_device *pdev)
168168
{
169-
return snd_soc_register_dai(&pdev->dev, &s3c2412_i2s_dai);
169+
return s3c_i2sv2_register_dai(&pdev->dev, -1, &s3c2412_i2s_dai);
170170
}
171171

172172
static __devexit int s3c2412_iis_dev_remove(struct platform_device *pdev)

0 commit comments

Comments
 (0)