From mboxrd@z Thu Jan 1 00:00:00 1970 From: Liam Girdwood Subject: Re: [Sound-open-firmware] [PATCH v5 05/14] ASoC: SOF: Add PCM operations support Date: Thu, 04 Apr 2019 12:00:57 +0100 Message-ID: References: <20190321161016.26515-1-pierre-louis.bossart@linux.intel.com> <20190321161016.26515-6-pierre-louis.bossart@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" To: Takashi Iwai , Pierre-Louis Bossart Cc: alsa-devel@alsa-project.org, Daniel Baluta , sound-open-firmware@alsa-project.org, vkoul@kernel.org, broonie@kernel.org, andriy.shevchenko@linux.intel.com, Alan Cox List-Id: alsa-devel@alsa-project.org On Thu, 2019-04-04 at 12:37 +0200, Takashi Iwai wrote: > > + > > + /* set runtime config */ > > + runtime->hw.info = SNDRV_PCM_INFO_MMAP | > > + SNDRV_PCM_INFO_MMAP_VALID | > > + SNDRV_PCM_INFO_INTERLEAVED | > > + SNDRV_PCM_INFO_PAUSE | > > + SNDRV_PCM_INFO_RESUME | > > + SNDRV_PCM_INFO_NO_PERIOD_WAKEUP; > > Does SOF support the full resume? That is, the stream gets resumed at > the exact position that was suspended. Most devices can't, hence they > don't set *_INFO_RESUME flag and let user-space restarting. Not atm, and I don't see this as an ask in the near future either, but it's technically possible given the open firmware. Liam