|
@@ -290,6 +290,7 @@ static void txx9aclc_pcm_free_dma_buffers(struct snd_pcm *pcm)
|
|
|
|
|
|
static int txx9aclc_pcm_new(struct snd_soc_pcm_runtime *rtd)
|
|
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_soc_dai *dai = rtd->cpu_dai;
|
|
struct snd_pcm *pcm = rtd->pcm;
|
|
struct snd_pcm *pcm = rtd->pcm;
|
|
struct platform_device *pdev = to_platform_device(dai->platform->dev);
|
|
struct platform_device *pdev = to_platform_device(dai->platform->dev);
|