summaryrefslogtreecommitdiffstats
path: root/include/sound/ak4113.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sound/ak4113.h')
-rw-r--r--include/sound/ak4113.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/sound/ak4113.h b/include/sound/ak4113.h
index 3a34f6edc2d1..58c145620c3c 100644
--- a/include/sound/ak4113.h
+++ b/include/sound/ak4113.h
@@ -287,6 +287,7 @@ struct ak4113 {
287 ak4113_read_t *read; 287 ak4113_read_t *read;
288 void *private_data; 288 void *private_data;
289 atomic_t wq_processing; 289 atomic_t wq_processing;
290 struct mutex reinit_mutex;
290 spinlock_t lock; 291 spinlock_t lock;
291 unsigned char regmap[AK4113_WRITABLE_REGS]; 292 unsigned char regmap[AK4113_WRITABLE_REGS];
292 struct snd_kcontrol *kctls[AK4113_CONTROLS]; 293 struct snd_kcontrol *kctls[AK4113_CONTROLS];
@@ -317,5 +318,13 @@ int snd_ak4113_build(struct ak4113 *ak4113,
317int snd_ak4113_external_rate(struct ak4113 *ak4113); 318int snd_ak4113_external_rate(struct ak4113 *ak4113);
318int snd_ak4113_check_rate_and_errors(struct ak4113 *ak4113, unsigned int flags); 319int snd_ak4113_check_rate_and_errors(struct ak4113 *ak4113, unsigned int flags);
319 320
321#ifdef CONFIG_PM
322void snd_ak4113_suspend(struct ak4113 *chip);
323void snd_ak4113_resume(struct ak4113 *chip);
324#else
325static inline void snd_ak4113_suspend(struct ak4113 *chip) {}
326static inline void snd_ak4113_resume(struct ak4113 *chip) {}
327#endif
328
320#endif /* __SOUND_AK4113_H */ 329#endif /* __SOUND_AK4113_H */
321 330