diff options
author | Ondrej Zary <linux@rainbow-software.org> | 2012-08-19 23:27:26 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-08-20 11:12:56 +0200 |
commit | 6f0fa66051e92f361bd293432466f5e62832adbf (patch) | |
tree | 1eefb8c91a9d9551d0bb7e694ac9d0231de0e958 /include/sound | |
parent | c86b6b452a6b2a80a2c9ffa3c8f7d80eea0fa196 (diff) | |
download | blackbird-op-linux-6f0fa66051e92f361bd293432466f5e62832adbf.tar.gz blackbird-op-linux-6f0fa66051e92f361bd293432466f5e62832adbf.zip |
ALSA: snd-ad1816a: Implement suspend/resume
Implement suspend/resume support for AD1816 chips.
Tested with Terratec SoundSystem Base-1.
Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/ad1816a.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/sound/ad1816a.h b/include/sound/ad1816a.h index 62da41e508e1..2a89f0d71440 100644 --- a/include/sound/ad1816a.h +++ b/include/sound/ad1816a.h @@ -147,6 +147,9 @@ struct snd_ad1816a { unsigned int c_dma_size; struct snd_timer *timer; +#ifdef CONFIG_PM + unsigned short image[48]; +#endif }; @@ -171,5 +174,9 @@ extern int snd_ad1816a_pcm(struct snd_ad1816a *chip, int device, struct snd_pcm extern int snd_ad1816a_mixer(struct snd_ad1816a *chip); extern int snd_ad1816a_timer(struct snd_ad1816a *chip, int device, struct snd_timer **rtimer); +#ifdef CONFIG_PM +extern void snd_ad1816a_suspend(struct snd_ad1816a *chip); +extern void snd_ad1816a_resume(struct snd_ad1816a *chip); +#endif #endif /* __SOUND_AD1816A_H */ |