12 Jun
2007
12 Jun
'07
10:56 a.m.
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]);