dtsi: screen-timing: lcd-tv080wum-mipi: update CABC lut
[firefly-linux-kernel-4.4.55.git] / include / sound / ak4113.h
index 3a34f6edc2d1ff6bb9280b3bd9b1a203c5393c68..58c145620c3c0c853bce37d0f8bac8903e95e318 100644 (file)
@@ -287,6 +287,7 @@ struct ak4113 {
        ak4113_read_t *read;
        void *private_data;
        atomic_t wq_processing;
+       struct mutex reinit_mutex;
        spinlock_t lock;
        unsigned char regmap[AK4113_WRITABLE_REGS];
        struct snd_kcontrol *kctls[AK4113_CONTROLS];
@@ -317,5 +318,13 @@ int snd_ak4113_build(struct ak4113 *ak4113,
 int snd_ak4113_external_rate(struct ak4113 *ak4113);
 int snd_ak4113_check_rate_and_errors(struct ak4113 *ak4113, unsigned int flags);
 
+#ifdef CONFIG_PM
+void snd_ak4113_suspend(struct ak4113 *chip);
+void snd_ak4113_resume(struct ak4113 *chip);
+#else
+static inline void snd_ak4113_suspend(struct ak4113 *chip) {}
+static inline void snd_ak4113_resume(struct ak4113 *chip) {}
+#endif
+
 #endif /* __SOUND_AK4113_H */