From: Takashi Iwai <tiwai@suse.de>
To: Oliver Neukum <oneukum@suse.de>
Cc: alsa-devel@alsa-project.org
Subject: Re: question on snd_power_change_state()
Date: Fri, 11 Mar 2011 13:15:28 +0100 [thread overview]
Message-ID: <s5hr5adkg4f.wl%tiwai@suse.de> (raw)
In-Reply-To: <201103111312.17360.oneukum@suse.de>
At Fri, 11 Mar 2011 13:12:17 +0100,
Oliver Neukum wrote:
>
> Hi,
>
> will calling snd_power_change_state() reset all mixer settings?
No, it's a simple inline function defined in include/sound/core.h.
static inline void snd_power_change_state(struct snd_card *card, unsigned int state)
{
card->power_state = state;
wake_up(&card->power_sleep);
}
It's present mostly for historical reasons.
Takashi
next prev parent reply other threads:[~2011-03-11 12:15 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-11 12:12 question on snd_power_change_state() Oliver Neukum
2011-03-11 12:15 ` Takashi Iwai [this message]
2011-03-11 12:20 ` Oliver Neukum
2011-03-11 12:34 ` Takashi Iwai
2011-03-11 12:42 ` Oliver Neukum
2011-03-11 13:13 ` Takashi Iwai
2011-03-11 13:53 ` Mark Brown
2011-03-11 13:56 ` Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=s5hr5adkg4f.wl%tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=oneukum@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.