Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c4ed97d9 authored by Eliot Blennerhassett's avatar Eliot Blennerhassett Committed by Takashi Iwai
Browse files

ALSA: asihpi - Fix outstream start trigger for non-mmap adapters.

parent 7f41b61b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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;