[alsa-devel] question on alsa's kernel API concerning snd_power_change_state()
24 Nov
2011
24 Nov
'11
9:28 a.m.
Hi,
if this function has been used to tell the sound core that a device is in a powersave mode, will the soundcore allow user space to open it?
Regards Oliver
24 Nov
24 Nov
9:55 a.m.
At Thu, 24 Nov 2011 09:28:02 +0100, Oliver Neukum wrote:
Hi,
if this function has been used to tell the sound core that a device is in a powersave mode, will the soundcore allow user space to open it?
Yes. Some operations (typically ioctl, read, write) are blocked when the mode is set to D3 until snd_power_change_state(D0) is called. But the open itself isn't blocked.
Takashi
4777
Age (days ago)
4777
Last active (days ago)
1 comments
2 participants
participants (2)
-
Oliver Neukum
-
Takashi Iwai