[ALSA] ad1848 - Add PM support

Modules: AD1848 driver

Add PM support to ad1848 support code.

Signed-off-by: Takashi Iwai <[email protected]>
This commit is contained in:
Takashi Iwai 2005-11-17 16:57:48 +01:00 • committed by Jaroslav Kysela
commit c66d7f7256
2 changed files with 20 additions and 13 deletions

View file

@ -148,6 +148,11 @@ struct snd_ad1848 {
int dma_size;
int thinkpad_flag; /* Thinkpad CS4248 needs some extra help */
#ifdef CONFIG_PM
void (*suspend)(struct snd_ad1848 *chip);
void (*resume)(struct snd_ad1848 *chip);
#endif
spinlock_t reg_lock;
struct semaphore open_mutex;
};