[alsa-devel] [PATCH] hda-emu: Add snd_power_get_state

Takashi Iwai tiwai at suse.de
Thu Dec 3 15:37:09 CET 2015


On Thu, 03 Dec 2015 15:31:23 +0100,
David Henningsson wrote:
> 
> Signed-off-by: David Henningsson <david.henningsson at canonical.com>

Applied, thanks.


Takashi

> ---
>  include/sound/core.h | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/include/sound/core.h b/include/sound/core.h
> index e556765..1196319 100644
> --- a/include/sound/core.h
> +++ b/include/sound/core.h
> @@ -113,6 +113,8 @@ int snd_card_register(struct snd_card *card)
>  	return 0;
>  }
>  
> +#define snd_power_get_state(card)       ({ (void)(card); SNDRV_CTL_POWER_D0; })
> +
>  #include <linux/list.h>
>  #include <linux/mutex.h>
>  #include <linux/pci.h>
> -- 
> 1.9.1
> 


More information about the Alsa-devel mailing list