ARM: OMAP: Fix aic23 audio drivers
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)
Quoted 4 lines · Dirk Behme
ARM: OMAP: Fix OMAP aic23 audio drivers because function name
tlv320aic23_write_value()was switched toaic23_write_value().
Pushing today.
Tony