aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci
diff options
context:
space:
mode:
authorEliot Blennerhassett <eblennerhassett@audioscience.com>2011-02-09 23:26:20 -0500
committerTakashi Iwai <tiwai@suse.de>2011-02-10 12:49:40 -0500
commitc4ed97d9e7ec9b8c8453af4ce55497d85970426c (patch)
tree357a64cb0c05c8e84d488f8273e4696a0c7f0756 /sound/pci
parent7f41b61b3b38b28ac3fd3af7088196204ce170e3 (diff)
ALSA: asihpi - Fix outstream start trigger for non-mmap adapters.
Signed-off-by: Eliot Blennerhassett <eblennerhassett@audioscience.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
-rw-r--r--sound/pci/asihpi/asihpi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/pci/asihpi/asihpi.c b/sound/pci/asihpi/asihpi.c
index b824df11dd02..0ac1f98d91a1 100644
--- a/sound/pci/asihpi/asihpi.c
+++ b/sound/pci/asihpi/asihpi.c
@@ -625,7 +625,8 @@ static int snd_card_asihpi_trigger(struct snd_pcm_substream *substream,
625 VPRINTK1(KERN_INFO "start\n"); 625 VPRINTK1(KERN_INFO "start\n");
626 /* start the master stream */ 626 /* start the master stream */
627 snd_card_asihpi_pcm_timer_start(substream); 627 snd_card_asihpi_pcm_timer_start(substream);
628 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) 628 if ((substream->stream == SNDRV_PCM_STREAM_CAPTURE) ||
629 !card->support_mmap)
629 hpi_handle_error(hpi_stream_start(dpcm->h_stream)); 630 hpi_handle_error(hpi_stream_start(dpcm->h_stream));
630 break; 631 break;
631 632