[alsa-devel] Shutdown() vector in ALSA
Nobin Mathew
nobin.mathew at gmail.com
Tue Jun 12 10:56:08 CEST 2007
why no ALSA driver has shutdown() vector implemented?
Is this vector needed to ensure the proper shutdown of the system?
What all needs to be taken care if i want to implement shutdown(),
except hardware shutdown.
struct snd_shutdown_f_ops {
struct file_operations f_ops;
struct snd_shutdown_f_ops *next;
};
what this operations means? defined in sound/core/init.c
Is there any need to call these functions?
snd_power_change_state(card, SNDRV_CTL_POWER_D3hot);
for (i = 0; i < chip->pcm_devs; i++)
snd_pcm_suspend_all(chip->pcm[i]);
More information about the Alsa-devel
mailing list