]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - sound/soc/txx9/txx9aclc.c
Merge remote-tracking branches 'asoc/topic/sh', 'asoc/topic/sigmadsp', 'asoc/topic...
[karo-tx-linux.git] / sound / soc / txx9 / txx9aclc.c
index cd71fd889d8bf834cc71cd1e491bdd9c590d78ef..00b7e2d026901fadc17c635f47c2bd07c3ea4473 100644 (file)
@@ -292,7 +292,7 @@ static int txx9aclc_pcm_new(struct snd_soc_pcm_runtime *rtd)
        struct snd_card *card = rtd->card->snd_card;
        struct snd_soc_dai *dai = rtd->cpu_dai;
        struct snd_pcm *pcm = rtd->pcm;
-       struct platform_device *pdev = to_platform_device(dai->platform->dev);
+       struct platform_device *pdev = to_platform_device(rtd->platform->dev);
        struct txx9aclc_soc_device *dev;
        struct resource *r;
        int i;