Skip to contentSkip to conversation

ARM: OMAP: Fix aic23 audio drivers

PATCH In review Dirk Behme 2 participants 2 messages May 3, 2006 – May 12, 2006 Sound

lore
Share & tools
lore

Dirk Behme

author
#0 lore raw

PATCH 1/1 ARM: OMAP: Fix aic23 audio drivers

ARM: OMAP: Fix OMAP aic23 audio drivers because function name tlv320aic23_write_value() was switched to aic23_write_value().

Signed-off-by Dirk Behme <dirk.behme_at_gmail.com>
sound/arm/omap/omap-alsa-aic23.c renamed from sound/arm/omap/omap-alsa-aic23.c_orig +2 -2
@@ -113,12 +113,12 @@ static snd_pcm_hardware_t aic23_snd_omap
  * codec dependent code.
  */
 
-extern int tlv320aic23_write_value(u8 reg, u16 value);
+extern int aic23_write_value(u8 reg, u16 value);
 
 /* TLV320AIC23 is a write only device */
 void audio_aic23_write(u8 address, u16 data)
 {
-	tlv320aic23_write_value(address, data);
+	aic23_write_value(address, data);
 }
 EXPORT_SYMBOL_GPL(audio_aic23_write);
 
sound/oss/omap-audio-aic23.c renamed from sound/oss/omap-audio-aic23.c_orig +2 -2
@@ -250,12 +250,12 @@ static audio_state_t aic23_state = {
 /* This will be defined in the audio.h */
 static struct file_operations *omap_audio_fops;
 
-extern int tlv320aic23_write_value(u8 reg, u16 value);
+extern int aic23_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);
+        aic23_write_value(address, data);
 }
 
 static int aic23_update(int flag, int val)
#1 lore raw
Quoted 4 lines · Dirk Behme

ARM: OMAP: Fix OMAP aic23 audio drivers because function name tlv320aic23_write_value() was switched to aic23_write_value().

Pushing today.

Tony