mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
[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:
parent
7a8fef1f95
commit
c66d7f7256
2 changed files with 20 additions and 13 deletions
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue