[alsa-devel] [PATCH 1/7] ASoC: Intel: Skylake: Add Resume capability in PCM info.
Takashi Iwai
tiwai at suse.de
Mon Nov 23 19:45:20 CET 2015
On Mon, 23 Nov 2015 17:56:23 +0100,
Vinod Koul wrote:
>
> From: Jeeja KP <jeeja.kp at intel.com>
>
> 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 <jeeja.kp at intel.com>
> Signed-off-by: Vinod Koul <vinod.koul at intel.com>
> ---
> 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 at alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>
More information about the Alsa-devel
mailing list