]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - sound/arm/omap-aic23.h
ARM: OMAP: Fix compliation/inlining in aic23 ALSA Driver
[linux-2.6-omap-h63xx.git] / sound / arm / omap-aic23.h
index 0c0f6ea50f5a8efd5b640845ecb0f7bef23ea1b8..50b4afbed83eb71b138f242283c6339c277bbe4b 100644 (file)
@@ -111,4 +111,17 @@ void snd_omap_suspend_mixer(void);
 void snd_omap_resume_mixer(void);
 #endif
 
+/* Codec AIC23 */
+#if defined(CONFIG_SENSORS_TLV320AIC23) || defined (CONFIG_SENSORS_TLV320AIC23_MODULE)
+
+extern int tlv320aic23_write_value(u8 reg, u16 value);
+
+/* TLV320AIC23 is a write only device */
+static __inline__ void audio_aic23_write(u8 address, u16 data)
+{
+       tlv320aic23_write_value(address, data);
+}
+
+#endif /* CONFIG_SENSORS_TLV320AIC23 */
+
 #endif