diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-20 12:41:44 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-20 12:41:44 -0400 |
commit | 7f06a8b26aba1dc03b42272dc0089a800372c575 (patch) | |
tree | 7c67198f83d069eb13fd417e022d111b7e4c82a1 /sound/soc/atmel | |
parent | c3ad33c9bcb6616999953af76f16318120fe3691 (diff) | |
parent | d71f4cece4bd97d05592836202fc04ff2e7817e3 (diff) |
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: (250 commits)
ALSA: hda: Storage class should be before const qualifier
ASoC: tpa6130a2: Remove CPVSS and HPVdd supplies
ASoC: tpa6130a2: Define output pins with SND_SOC_DAPM_OUTPUT
ASoC: sdp4430 - add sdp4430 pcm ops to DAI.
ASoC: TWL6040: Enable earphone path in codec
ASoC: SDP4430: Add support for Earphone speaker
ASoC: SDP4430: Add sdp4430 machine driver
ASoC: tlv320dac33: Avoid powering off while in BIAS_OFF
ASoC: tlv320dac33: Use dev_dbg in dac33_hard_power function
ALSA: sound/pci/asihpi: Use kzalloc
ALSA: hdmi - dont fail on extra nodes
ALSA: intelhdmi - add id for the CougarPoint chipset
ALSA: intelhdmi - user friendly codec name
ALSA: intelhdmi - add dependency on SND_DYNAMIC_MINORS
ALSA: asihpi: incorrect range check
ALSA: asihpi: testing the wrong variable
ALSA: es1688: add pedantic range checks
ARM: McBSP: Add support for omap4 in McBSP driver
ARM: McBSP: Fix request for irq in OMAP4
OMAP: McBSP: Add 32-bit mode support
...
Diffstat (limited to 'sound/soc/atmel')
-rw-r--r-- | sound/soc/atmel/atmel-pcm.c | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/sound/soc/atmel/atmel-pcm.c b/sound/soc/atmel/atmel-pcm.c index 3e6628c8e665..f6b3cc04b34b 100644 --- a/sound/soc/atmel/atmel-pcm.c +++ b/sound/soc/atmel/atmel-pcm.c | |||
@@ -415,9 +415,12 @@ static void atmel_pcm_free_dma_buffers(struct snd_pcm *pcm) | |||
415 | } | 415 | } |
416 | 416 | ||
417 | #ifdef CONFIG_PM | 417 | #ifdef CONFIG_PM |
418 | static int atmel_pcm_suspend(struct snd_soc_dai *dai) | 418 | static int atmel_pcm_suspend(struct snd_soc_dai_link *dai_link) |
419 | { | 419 | { |
420 | struct snd_pcm_runtime *runtime = dai->runtime; | 420 | struct snd_pcm *pcm = dai_link->pcm; |
421 | struct snd_pcm_str *stream = &pcm->streams[0]; | ||
422 | struct snd_pcm_substream *substream = stream->substream; | ||
423 | struct snd_pcm_runtime *runtime = substream->runtime; | ||
421 | struct atmel_runtime_data *prtd; | 424 | struct atmel_runtime_data *prtd; |
422 | struct atmel_pcm_dma_params *params; | 425 | struct atmel_pcm_dma_params *params; |
423 | 426 | ||
@@ -439,9 +442,12 @@ static int atmel_pcm_suspend(struct snd_soc_dai *dai) | |||
439 | return 0; | 442 | return 0; |
440 | } | 443 | } |
441 | 444 | ||
442 | static int atmel_pcm_resume(struct snd_soc_dai *dai) | 445 | static int atmel_pcm_resume(struct snd_soc_dai_link *dai_link) |
443 | { | 446 | { |
444 | struct snd_pcm_runtime *runtime = dai->runtime; | 447 | struct snd_pcm *pcm = dai_link->pcm; |
448 | struct snd_pcm_str *stream = &pcm->streams[0]; | ||
449 | struct snd_pcm_substream *substream = stream->substream; | ||
450 | struct snd_pcm_runtime *runtime = substream->runtime; | ||
445 | struct atmel_runtime_data *prtd; | 451 | struct atmel_runtime_data *prtd; |
446 | struct atmel_pcm_dma_params *params; | 452 | struct atmel_pcm_dma_params *params; |
447 | 453 | ||