summaryrefslogtreecommitdiffstats
path: root/sound/soc/txx9/txx9aclc.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2011-08-02 20:48:22 -1000
committerLinus Torvalds <torvalds@linux-foundation.org>2011-08-02 20:48:22 -1000
commit0d7e92da50763b53b59b490ce57a323039ee241d (patch)
tree9a1ee0292fce0243406f2e66c170d25e062730a2 /sound/soc/txx9/txx9aclc.c
parentc027a474a68065391c8773f6e83ed5412657e369 (diff)
parent9f3b24948f22e4e21e961bd514c2089d24f0938e (diff)
downloadblackbird-op-linux-0d7e92da50763b53b59b490ce57a323039ee241d.tar.gz
blackbird-op-linux-0d7e92da50763b53b59b490ce57a323039ee241d.zip
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6: ALSA: asihpi - Clarify adapter index validity check ALSA: asihpi - Don't leak firmware if mem alloc fails ALSA: rtctimer.c needs module.h ASoC: Fix txx9aclc.c build ALSA: hdspm - Add firmware revision 0xcc for RME MADI ALSA: hdspm - Fix reported external sample rate on RME MADI and MADIface ALSA: hdspm - Provide MADI speed mode selector on RME MADI and MADIface ALSA: sound/core/pcm_compat.c: adjust array index
Diffstat (limited to 'sound/soc/txx9/txx9aclc.c')
-rw-r--r--sound/soc/txx9/txx9aclc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/txx9/txx9aclc.c b/sound/soc/txx9/txx9aclc.c
index 34aa972669ed..3de99af8cb82 100644
--- a/sound/soc/txx9/txx9aclc.c
+++ b/sound/soc/txx9/txx9aclc.c
@@ -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)
{
+ 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);
OpenPOWER on IntegriCloud