From: Takashi Iwai Subject: Re: [PATCH 1/7] ASoC: Intel: Skylake: Add Resume capability in PCM info. Date: Mon, 23 Nov 2015 19:45:20 +0100 Message-ID: References: <1448297789-6524-1-git-send-email-vinod.koul@intel.com> <1448297789-6524-2-git-send-email-vinod.koul@intel.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id B60512654B5 for ; Mon, 23 Nov 2015 19:45:21 +0100 (CET) In-Reply-To: <1448297789-6524-2-git-send-email-vinod.koul@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Vinod Koul Cc: liam.r.girdwood@linux.intel.com, patches.audio@intel.com, alsa-devel@alsa-project.org, broonie@kernel.org, Jeeja KP List-Id: alsa-devel@alsa-project.org On Mon, 23 Nov 2015 17:56:23 +0100, Vinod Koul wrote: > > From: Jeeja KP > > This patch adds pcm capability to support Resume. The flag indicates that the driver is capable of the full resume -- i.e. it must resume everything at the exactly same point to be suspended. Is it really the case? If it's not and it's instead a kind of restart of streams, don't add this flag. The lack of the flag doesn't mean that the driver can't resume at all. Takashi > > Signed-off-by: Jeeja KP > Signed-off-by: Vinod Koul > --- > sound/soc/intel/skylake/skl-pcm.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/sound/soc/intel/skylake/skl-pcm.c b/sound/soc/intel/skylake/skl-pcm.c > index dae332beea3f..4378bf452582 100644 > --- a/sound/soc/intel/skylake/skl-pcm.c > +++ b/sound/soc/intel/skylake/skl-pcm.c > @@ -35,6 +35,7 @@ static struct snd_pcm_hardware azx_pcm_hw = { > SNDRV_PCM_INFO_BLOCK_TRANSFER | > SNDRV_PCM_INFO_MMAP_VALID | > SNDRV_PCM_INFO_PAUSE | > + SNDRV_PCM_INFO_RESUME | > SNDRV_PCM_INFO_SYNC_START | > SNDRV_PCM_INFO_HAS_WALL_CLOCK | /* legacy */ > SNDRV_PCM_INFO_HAS_LINK_ATIME | > -- > 1.9.1 > > _______________________________________________ > Alsa-devel mailing list > Alsa-devel@alsa-project.org > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel >