projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f41b61
)
ALSA: asihpi - Fix outstream start trigger for non-mmap adapters.
author
Eliot Blennerhassett
<eblennerhassett@audioscience.com>
Thu, 10 Feb 2011 04:26:20 +0000
(17:26 +1300)
committer
Takashi Iwai
<tiwai@suse.de>
Thu, 10 Feb 2011 17:49:40 +0000
(18:49 +0100)
Signed-off-by: Eliot Blennerhassett <eblennerhassett@audioscience.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/asihpi/asihpi.c
patch
|
blob
|
history
diff --git
a/sound/pci/asihpi/asihpi.c
b/sound/pci/asihpi/asihpi.c
index b824df11dd0256c39f3a625631c0847d0e25c92c..0ac1f98d91a1f2196fb9cd4aa93b4c79c2d57aad 100644
(file)
--- 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,
VPRINTK1(KERN_INFO "start\n");
/* start the master stream */
snd_card_asihpi_pcm_timer_start(substream);
- if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
+ if ((substream->stream == SNDRV_PCM_STREAM_CAPTURE) ||
+ !card->support_mmap)
hpi_handle_error(hpi_stream_start(dpcm->h_stream));
break;